mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-20 05:17:54 +00:00
8a6d956634
/trunk/scripts/build/debug/gdb.sh | 9 9 0 0 +++++++++ /trunk/config/debug/gdb.in | 9 9 0 0 +++++++++ 2 files changed, 18 insertions(+)
82 lines
1.5 KiB
Plaintext
82 lines
1.5 KiB
Plaintext
# GDB menu
|
|
|
|
menuconfig GDB
|
|
bool
|
|
prompt "gdb"
|
|
default n
|
|
help
|
|
Enable gdb for the target
|
|
|
|
if GDB
|
|
|
|
config GDB_CROSS
|
|
bool
|
|
prompt "Cross-gdb"
|
|
default y
|
|
help
|
|
Build and install a cross-gdb for the target, and to run on host.
|
|
|
|
config GDB_CROSS_STATIC_GDB
|
|
bool
|
|
prompt "Build a static cross gdb"
|
|
default n
|
|
depends on GDB_CROSS
|
|
help
|
|
A static cross gdb can be usefull if you debug on a machine that is
|
|
not the one that is used to compile.
|
|
|
|
config GDB_CROSS_STATIC_GDBSERVER
|
|
bool
|
|
prompt "Build a static gdbserver"
|
|
default n
|
|
depends on GDB_CROSS
|
|
help
|
|
In case you have trouble with dynamic loading of shared libraries,
|
|
you will find that a static gdbserver comes in handy.
|
|
|
|
config GDB_NATIVE
|
|
bool
|
|
prompt "Native gdb (EXPERIMENTAL)"
|
|
default n
|
|
depends on EXPERIMENTAL
|
|
help
|
|
Build and install a native gdb for the target, to run on the target.
|
|
|
|
choice
|
|
bool
|
|
prompt "gdb version"
|
|
|
|
config GDB_V_snapshot
|
|
bool
|
|
prompt "snapshot (EXPERIMENTAL)"
|
|
depends on EXPERIMENTAL
|
|
|
|
config GDB_V_6_4
|
|
bool
|
|
prompt "6.4 (OBSOLETE)"
|
|
depends on OBSOLETE
|
|
|
|
config GDB_V_6_5
|
|
bool
|
|
prompt "6.5"
|
|
|
|
config GDB_V_6_6
|
|
bool
|
|
prompt "6.6"
|
|
|
|
# CT_INSERT_VERSION_ABOVE
|
|
# Don't remove above line!
|
|
endchoice
|
|
|
|
config GDB_VERSION
|
|
string
|
|
default "snapshot" if GDB_V_snapshot
|
|
default "6.4" if GDB_V_6_4
|
|
default "6.5" if GDB_V_6_5
|
|
default "6.6" if GDB_V_6_6
|
|
# CT_INSERT_VERSION_STRING_ABOVE
|
|
# Don't remove above line!
|
|
|
|
endif
|
|
|