2007-05-17 16:22:51 +00:00
|
|
|
# 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.
|
|
|
|
|
2008-04-27 10:25:02 +00:00
|
|
|
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.
|
|
|
|
|
2007-06-17 15:46:13 +00:00
|
|
|
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.
|
|
|
|
|
2007-05-17 16:22:51 +00:00
|
|
|
config GDB_NATIVE
|
|
|
|
bool
|
2007-05-27 20:29:22 +00:00
|
|
|
prompt "Native gdb (EXPERIMENTAL)"
|
2007-05-17 16:22:51 +00:00
|
|
|
default n
|
2007-05-18 19:55:49 +00:00
|
|
|
depends on EXPERIMENTAL
|
2007-05-17 16:22:51 +00:00
|
|
|
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
|
2007-07-08 22:22:18 +00:00
|
|
|
prompt "snapshot (EXPERIMENTAL)"
|
2007-05-17 16:22:51 +00:00
|
|
|
depends on EXPERIMENTAL
|
|
|
|
|
|
|
|
config GDB_V_6_4
|
|
|
|
bool
|
2007-08-14 20:11:44 +00:00
|
|
|
prompt "6.4 (OBSOLETE)"
|
2007-05-17 16:22:51 +00:00
|
|
|
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
|
|
|
|
|