# HG changeset patch # User "Yann E. MORIN" # Date 1271354423 -7200 # Node ID e5b635bb9290e94adcf94e0f4db9ea08d7eed995 # Parent 78557644e31d55113053a7f34c9c3303a66c813f 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. diff -r 78557644e31d -r e5b635bb9290 config/debug/gdb.in.cross --- a/config/debug/gdb.in.cross Thu Apr 15 19:54:00 2010 +0200 +++ b/config/debug/gdb.in.cross Thu Apr 15 20:00:23 2010 +0200 @@ -43,15 +43,4 @@ 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 -r 78557644e31d -r e5b635bb9290 scripts/build/debug/300-gdb.sh --- a/scripts/build/debug/300-gdb.sh Thu Apr 15 19:54:00 2010 +0200 +++ b/scripts/build/debug/300-gdb.sh Thu Apr 15 20:00:23 2010 +0200 @@ -8,15 +8,10 @@ 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 @@ 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 @@ 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 @@ 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 @@ 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[*]}'"