summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-04-15 18:00:23 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-04-15 18:00:23 (GMT)
commit3ad58b9c50b7a204776120cf2c09731520c70be4 (patch)
tree83f402a6b6145830757a317fd5f373727cb174f5
parent9a559f67799478ee1d9b906650859956fc0b0722 (diff)
debug/gdb: remove insight
Insight seems to be very slow to follow up on mainstreram gdb. Latest snapshots are more than 6 months old. Moreover, I don't have time to maintain insight support in crosstool-NG; and, because I don't use it, I am unable to find any breakage.
-rw-r--r--config/debug/gdb.in.cross11
-rw-r--r--scripts/build/debug/300-gdb.sh21
2 files changed, 1 insertions, 31 deletions
diff --git a/config/debug/gdb.in.cross b/config/debug/gdb.in.cross
index fb1186d..f5afe09 100644
--- a/config/debug/gdb.in.cross
+++ b/config/debug/gdb.in.cross
@@ -43,15 +43,4 @@ config GDB_CROSS_USE_MPC
Say 'Y' here if you want to use MPC.
-config GDB_CROSS_INSIGHT
- bool
- prompt "Use Insight instead (EXPERIMENTAL)"
- default n
- depends on EXPERIMENTAL
- help
- If you say 'Y' here, then Insight will be used to build the cross
- debugger, instead of the plain gdb.
-
- Insight is gdb plus a TCL/TK GUI: http://sourceware.org/insight/
-
endif # GDB_CROSS
diff --git a/scripts/build/debug/300-gdb.sh b/scripts/build/debug/300-gdb.sh
index 49810c6..ffc23d9 100644
--- a/scripts/build/debug/300-gdb.sh
+++ b/scripts/build/debug/300-gdb.sh
@@ -8,15 +8,10 @@ CT_DEBUG_GDB_NCURSES_VERSION="5.7"
do_debug_gdb_parts() {
do_gdb=
- do_insight=
do_ncurses=
if [ "${CT_GDB_CROSS}" = y ]; then
- if [ "${CT_GDB_CROSS_INSIGHT}" = "y" ]; then
- do_insight=y
- else
- do_gdb=y
- fi
+ do_gdb=y
fi
if [ "${CT_GDB_GDBSERVER}" = "y" ]; then
@@ -38,13 +33,6 @@ do_debug_gdb_get() {
ftp://sources.redhat.com/pub/gdb/{,old-}releases
fi
- if [ "${do_insight}" = "y" ]; then
- CT_GetFile "insight-${CT_GDB_VERSION}" \
- ftp://sourceware.org/pub/insight/releases \
- {ftp,http}://ftp.twaren.net/Unix/Sourceware/insight/releases \
- {ftp,http}://ftp.gwdg.de/pub/linux/sources.redhat.com/insight/releases
- fi
-
if [ "${do_ncurses}" = "y" ]; then
CT_GetFile "ncurses-${CT_DEBUG_GDB_NCURSES_VERSION}" .tar.gz \
{ftp,http}://ftp.gnu.org/pub/gnu/ncurses \
@@ -60,11 +48,6 @@ do_debug_gdb_extract() {
CT_Patch "gdb" "${CT_GDB_VERSION}"
fi
- if [ "${do_insight}" = "y" ]; then
- CT_Extract "insight-${CT_GDB_VERSION}"
- CT_Patch "insight" "${CT_GDB_VERSION}"
- fi
-
if [ "${do_ncurses}" = "y" ]; then
CT_Extract "ncurses-${CT_DEBUG_GDB_NCURSES_VERSION}"
CT_Patch "ncurses" "${CT_DEBUG_GDB_NCURSES_VERSION}"
@@ -75,7 +58,6 @@ do_debug_gdb_build() {
local -a extra_config
gdb_src_dir="${CT_SRC_DIR}/gdb-${CT_GDB_VERSION}"
- insight_src_dir="${CT_SRC_DIR}/insight-${CT_GDB_VERSION}"
# Version 6.3 and below behave badly with gdbmi
case "${CT_GDB_VERSION}" in
@@ -112,7 +94,6 @@ do_debug_gdb_build() {
fi
gdb_cross_configure="${gdb_src_dir}/configure"
- [ "${CT_GDB_CROSS_INSIGHT}" = "y" ] && gdb_cross_configure="${insight_src_dir}/configure"
CT_DoLog DEBUG "Extra config passed: '${cross_extra_config[*]}'"