Offer a single option for the glibc/eglibc add-ons selection, rather than hiding it behind a toggle.
If the list is empty, then there is no add-on. If the list is not empty, then there are add-ons.
/trunk/config/libc/glibc-eglibc.in-common | 9 0 9 0 ---------
1 file changed, 9 deletions(-)
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 GMP_MPFR_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.
93 depends on GDB_CROSS || GDB_NATIVE || GDB_GDBSERVER
97 prompt "6.4 (OBSOLETE)"
102 prompt "6.5 (OBSOLETE)"
111 prompt "6.7 (EXPERIMENTAL)"
112 depends on EXPERIMENTAL
116 prompt "6.7.1 (EXPERIMENTAL)"
117 depends on EXPERIMENTAL
123 # CT_INSERT_VERSION_ABOVE
124 # Don't remove above line!
126 config GDB_V_snapshot
128 prompt "snapshot (EXPERIMENTAL)"
129 depends on EXPERIMENTAL
130 depends on ! GDB_CROSS_INSIGHT
136 default "snapshot" if GDB_V_snapshot
137 default "6.4" if GDB_V_6_4
138 default "6.5" if GDB_V_6_5
139 default "6.6" if GDB_V_6_6
140 default "6.7" if GDB_V_6_7
141 default "6.7.1" if GDB_V_6_7_1
142 default "6.8" if GDB_V_6_8
143 # CT_INSERT_VERSION_STRING_ABOVE
144 # Don't remove above line!
148 comment "Native gdb needs the ncurses library on the target"
152 prompt "ncurses version"
160 config NCURSES_VERSION
162 default "5.6" if NCURSES_V_5_6
164 endif # GDB_NATIVE --> ncurses