Add support for building Insight instead of gdb (only for the cross-gdb).
/trunk/scripts/build/debug/300-gdb.sh | 62 55 7 0 ++++++++++++++++++++++++++++++++++++-----
/trunk/config/debug/gdb.in | 13 13 0 0 +++++++++
2 files changed, 68 insertions(+), 7 deletions(-)
8 Enable gdb for the target
18 Build and install a cross-gdb for the target, to run on host.
20 config GDB_CROSS_STATIC
22 prompt "Build a static cross gdb"
26 A static cross gdb can be usefull if you debug on a machine that is
27 not the one that is used to compile the toolchain.
29 That way, you can share the cross-gdb without installing a toolchain
30 on every machine that will be used to debug target programs.
32 config GDB_CROSS_INSIGHT
34 prompt "Use Insight instead (EXPERIMENTAL)"
37 depends on EXPERIMENTAL
39 If you say 'Y' here, then Insight will be used to build the cross
40 debugger, instead of the plain gdb.
42 Insight is gdb plus a TCL/TK GUI: http://sourceware.org/insight/
49 Build and install a native gdb for the target, to run on the target.
51 config GDB_NATIVE_STATIC
53 prompt "Build a static native gdb"
57 In case you have trouble with dynamic loading of shared libraries,
58 you will find that a static gdb comes in handy.
60 config GDB_NATIVE_USE_GMP_MPFR
62 prompt "Use GMP and MPFR (EXPERIMENTAL)"
64 depends on EXPERIMENTAL
67 select GMP_MPFR_TARGET
69 gdb can make use of the GMP and MPFR libraries.
71 While the cross-gdb (above) can use the libraries compiled for the
72 host, the native gdb needs the libraries for the target (where it will
75 Setting this option will force building the GMP and MPFR libraries for
76 the target, and configure the native gdb to use them.
83 Build and install a gdbserver for the target, to run on the target.
85 config GDB_GDBSERVER_STATIC
87 prompt "Build a static gdbserver"
89 depends on GDB_GDBSERVER
91 In case you have trouble with dynamic loading of shared libraries,
92 you will find that a static gdbserver comes in handy.
97 depends on GDB_CROSS || GDB_NATIVE || GDB_GDBSERVER
101 prompt "snapshot (EXPERIMENTAL)"
102 depends on EXPERIMENTAL
103 depends on ! GDB_CROSS_INSIGHT
107 prompt "6.4 (OBSOLETE)"
112 prompt "6.5 (OBSOLETE)"
121 prompt "6.7 (EXPERIMENTAL)"
122 depends on EXPERIMENTAL
126 prompt "6.7.1 (EXPERIMENTAL)"
127 depends on EXPERIMENTAL
133 # CT_INSERT_VERSION_ABOVE
134 # Don't remove above line!
139 default "snapshot" if GDB_V_snapshot
140 default "6.4" if GDB_V_6_4
141 default "6.5" if GDB_V_6_5
142 default "6.6" if GDB_V_6_6
143 default "6.7" if GDB_V_6_7
144 default "6.7.1" if GDB_V_6_7_1
145 default "6.8" if GDB_V_6_8
146 # CT_INSERT_VERSION_STRING_ABOVE
147 # Don't remove above line!
151 comment "Native gdb needs the ncurses library on the target"
155 prompt "ncurses version"
163 config NCURSES_VERSION
165 default "5.6" if NCURSES_V_5_6
167 endif # GDB_NATIVE --> ncurses