Don't force building a gdbserver when only native gdb is selected.
/trunk/config/debug/gdb.in | 1 0 1 0 -
/trunk/scripts/build/debug/300-gdb.sh | 1 0 1 0 -
2 files changed, 2 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.
37 Build and install a native gdb for the target, to run on the target.
39 config GDB_NATIVE_STATIC
41 prompt "Build a static native gdb"
45 In case you have trouble with dynamic loading of shared libraries,
46 you will find that a static gdb comes in handy.
53 Build and install a gdbserver for the target, to run on the target.
55 config GDB_GDBSERVER_STATIC
57 prompt "Build a static gdbserver"
59 depends on GDB_GDBSERVER
61 In case you have trouble with dynamic loading of shared libraries,
62 you will find that a static gdbserver comes in handy.
67 depends on GDB_CROSS || GDB_NATIVE || GDB_GDBSERVER
71 prompt "snapshot (EXPERIMENTAL)"
72 depends on EXPERIMENTAL
76 prompt "6.4 (OBSOLETE)"
89 prompt "6.7 (EXPERIMENTAL)"
90 depends on EXPERIMENTAL
94 prompt "6.7.1 (EXPERIMENTAL)"
95 depends on EXPERIMENTAL
99 prompt "6.8 (EXPERIMENTAL)"
100 depends on EXPERIMENTAL
102 # CT_INSERT_VERSION_ABOVE
103 # Don't remove above line!
108 default "snapshot" if GDB_V_snapshot
109 default "6.4" if GDB_V_6_4
110 default "6.5" if GDB_V_6_5
111 default "6.6" if GDB_V_6_6
112 default "6.7" if GDB_V_6_7
113 default "6.7.1" if GDB_V_6_7_1
114 default "6.8" if GDB_V_6_8
115 # CT_INSERT_VERSION_STRING_ABOVE
116 # Don't remove above line!
120 comment "Native gdb needs the ncurses library on the target"
124 prompt "ncurses version"
136 config NCURSES_VERSION
138 default "4.2" if NCURSES_V_4_2
139 default "5.6" if NCURSES_V_5_6
141 endif # GDB_NATIVE --> ncurses