5 Enable gdb for the target
11 select GDB_GDBSERVER if ! BARE_METAL
13 Build and install a cross-gdb for the target, to run on host.
15 config GDB_CROSS_STATIC
17 prompt "Build a static cross gdb"
21 A static cross gdb can be usefull if you debug on a machine that is
22 not the one that is used to compile the toolchain.
24 That way, you can share the cross-gdb without installing a toolchain
25 on every machine that will be used to debug target programs.
27 config GDB_CROSS_INSIGHT
29 prompt "Use Insight instead (EXPERIMENTAL)"
32 depends on EXPERIMENTAL
34 If you say 'Y' here, then Insight will be used to build the cross
35 debugger, instead of the plain gdb.
37 Insight is gdb plus a TCL/TK GUI: http://sourceware.org/insight/
43 depends on ! BARE_METAL
45 Build and install a native gdb for the target, to run on the target.
47 config GDB_NATIVE_STATIC
49 prompt "Build a static native gdb"
53 In case you have trouble with dynamic loading of shared libraries,
54 you will find that a static gdb comes in handy.
56 config GDB_NATIVE_USE_GMP_MPFR
58 prompt "Use GMP and MPFR"
62 select COMP_LIBS_TARGET
64 gdb can make use of the GMP and MPFR libraries.
66 While the cross-gdb (above) can use the libraries compiled for the
67 host, the native gdb needs the libraries for the target (where it will
70 Setting this option will force building the GMP and MPFR libraries for
71 the target, and configure the native gdb to use them.
77 depends on ! BARE_METAL
79 Build and install a gdbserver for the target, to run on the target.
81 config GDB_GDBSERVER_STATIC
83 prompt "Build a static gdbserver"
85 depends on GDB_GDBSERVER
87 In case you have trouble with dynamic loading of shared libraries,
88 you will find that a static gdbserver comes in handy.
91 comment "In bare-metal, you'll need to "
92 comment "provide your own gdbserver stub."
98 depends on GDB_CROSS || GDB_NATIVE || GDB_GDBSERVER
99 # Don't remove next line
100 # CT_INSERT_VERSION_BELOW
108 prompt "6.7.1 (EXPERIMENTAL)"
109 depends on EXPERIMENTAL
113 prompt "6.7 (EXPERIMENTAL)"
114 depends on EXPERIMENTAL
122 prompt "6.5 (OBSOLETE)"
127 prompt "6.4 (OBSOLETE)"
130 config GDB_V_snapshot
132 prompt "snapshot (EXPERIMENTAL)"
133 depends on EXPERIMENTAL
134 depends on ! GDB_CROSS_INSIGHT
140 # Don't remove next line
141 # CT_INSERT_VERSION_STRING_BELOW
142 default "6.8" if GDB_V_6_8
143 default "6.7.1" if GDB_V_6_7_1
144 default "6.7" if GDB_V_6_7
145 default "6.6" if GDB_V_6_6
146 default "6.5" if GDB_V_6_5
147 default "6.4" if GDB_V_6_4
148 default "snapshot" if GDB_V_snapshot
152 comment "Native gdb needs a native ncurses library"
156 prompt "ncurses version"
168 config NCURSES_VERSION
170 default "5.7" if NCURSES_V_5_7
171 default "5.6" if NCURSES_V_5_6
173 endif # GDB_NATIVE --> ncurses