debug/gdb: remove insight
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu Apr 15 20:00:23 2010 +0200 (2010-04-15)
changeset 1916e5b635bb9290
parent 1915 78557644e31d
child 1917 7a489a7b5d55
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.
config/debug/gdb.in.cross
scripts/build/debug/300-gdb.sh
     1.1 --- a/config/debug/gdb.in.cross	Thu Apr 15 19:54:00 2010 +0200
     1.2 +++ b/config/debug/gdb.in.cross	Thu Apr 15 20:00:23 2010 +0200
     1.3 @@ -43,15 +43,4 @@
     1.4        
     1.5        Say 'Y' here if you want to use MPC.
     1.6  
     1.7 -config GDB_CROSS_INSIGHT
     1.8 -    bool
     1.9 -    prompt "Use Insight instead (EXPERIMENTAL)"
    1.10 -    default n
    1.11 -    depends on EXPERIMENTAL
    1.12 -    help
    1.13 -      If you say 'Y' here, then Insight will be used to build the cross
    1.14 -      debugger, instead of the plain gdb.
    1.15 -      
    1.16 -      Insight is gdb plus a TCL/TK GUI: http://sourceware.org/insight/
    1.17 -
    1.18  endif # GDB_CROSS
     2.1 --- a/scripts/build/debug/300-gdb.sh	Thu Apr 15 19:54:00 2010 +0200
     2.2 +++ b/scripts/build/debug/300-gdb.sh	Thu Apr 15 20:00:23 2010 +0200
     2.3 @@ -8,15 +8,10 @@
     2.4  
     2.5  do_debug_gdb_parts() {
     2.6      do_gdb=
     2.7 -    do_insight=
     2.8      do_ncurses=
     2.9  
    2.10      if [ "${CT_GDB_CROSS}" = y ]; then
    2.11 -        if [ "${CT_GDB_CROSS_INSIGHT}" = "y" ]; then
    2.12 -            do_insight=y
    2.13 -        else
    2.14 -            do_gdb=y
    2.15 -        fi
    2.16 +        do_gdb=y
    2.17      fi
    2.18  
    2.19      if [ "${CT_GDB_GDBSERVER}" = "y" ]; then
    2.20 @@ -38,13 +33,6 @@
    2.21                     ftp://sources.redhat.com/pub/gdb/{,old-}releases
    2.22      fi
    2.23  
    2.24 -    if [ "${do_insight}" = "y" ]; then
    2.25 -        CT_GetFile "insight-${CT_GDB_VERSION}"                                              \
    2.26 -                   ftp://sourceware.org/pub/insight/releases                                \
    2.27 -                   {ftp,http}://ftp.twaren.net/Unix/Sourceware/insight/releases             \
    2.28 -                   {ftp,http}://ftp.gwdg.de/pub/linux/sources.redhat.com/insight/releases
    2.29 -    fi
    2.30 -
    2.31      if [ "${do_ncurses}" = "y" ]; then
    2.32          CT_GetFile "ncurses-${CT_DEBUG_GDB_NCURSES_VERSION}" .tar.gz  \
    2.33                     {ftp,http}://ftp.gnu.org/pub/gnu/ncurses \
    2.34 @@ -60,11 +48,6 @@
    2.35          CT_Patch "gdb" "${CT_GDB_VERSION}"
    2.36      fi
    2.37  
    2.38 -    if [ "${do_insight}" = "y" ]; then
    2.39 -        CT_Extract "insight-${CT_GDB_VERSION}"
    2.40 -        CT_Patch "insight" "${CT_GDB_VERSION}"
    2.41 -    fi
    2.42 -
    2.43      if [ "${do_ncurses}" = "y" ]; then
    2.44          CT_Extract "ncurses-${CT_DEBUG_GDB_NCURSES_VERSION}"
    2.45          CT_Patch "ncurses" "${CT_DEBUG_GDB_NCURSES_VERSION}"
    2.46 @@ -75,7 +58,6 @@
    2.47      local -a extra_config
    2.48  
    2.49      gdb_src_dir="${CT_SRC_DIR}/gdb-${CT_GDB_VERSION}"
    2.50 -    insight_src_dir="${CT_SRC_DIR}/insight-${CT_GDB_VERSION}"
    2.51  
    2.52      # Version 6.3 and below behave badly with gdbmi
    2.53      case "${CT_GDB_VERSION}" in
    2.54 @@ -112,7 +94,6 @@
    2.55          fi
    2.56  
    2.57          gdb_cross_configure="${gdb_src_dir}/configure"
    2.58 -        [ "${CT_GDB_CROSS_INSIGHT}" = "y" ] && gdb_cross_configure="${insight_src_dir}/configure"
    2.59  
    2.60          CT_DoLog DEBUG "Extra config passed: '${cross_extra_config[*]}'"
    2.61