diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-04-15 20:00:23 +0200 |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-04-15 20:00:23 +0200 |
commit | 3ad58b9c50b7a204776120cf2c09731520c70be4 (patch) | |
tree | 83f402a6b6145830757a317fd5f373727cb174f5 | |
parent | 9a559f67799478ee1d9b906650859956fc0b0722 (diff) | |
download | crosstool-ng-3ad58b9c50b7a204776120cf2c09731520c70be4.tar.gz crosstool-ng-3ad58b9c50b7a204776120cf2c09731520c70be4.tar.bz2 crosstool-ng-3ad58b9c50b7a204776120cf2c09731520c70be4.zip |
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.cross | 11 | ||||
-rw-r--r-- | scripts/build/debug/300-gdb.sh | 21 |
2 files changed, 1 insertions, 31 deletions
diff --git a/config/debug/gdb.in.cross b/config/debug/gdb.in.cross index fb1186d1..f5afe094 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 49810c64..ffc23d96 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[*]}'" |