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
104 prompt "7.0.1 (EXPERIMENTAL)"
105 depends on EXPERIMENTAL
109 prompt "7.0 (EXPERIMENTAL)"
110 depends on EXPERIMENTAL
116 config GDB_V_snapshot
118 prompt "snapshot (EXPERIMENTAL)"
119 depends on EXPERIMENTAL
120 depends on ! GDB_CROSS_INSIGHT
126 # Don't remove next line
127 # CT_INSERT_VERSION_STRING_BELOW
128 default "7.0.1" if GDB_V_7_0_1
129 default "7.0" if GDB_V_7_0
130 default "6.8" if GDB_V_6_8
131 default "snapshot" if GDB_V_snapshot