2007-05-17 16:22:51 +00:00
|
|
|
# GDB menu
|
|
|
|
|
2011-05-08 17:02:44 +00:00
|
|
|
## help gdb is the GNU debugger
|
2007-05-17 16:22:51 +00:00
|
|
|
|
2010-03-15 20:42:55 +00:00
|
|
|
source "config/debug/gdb.in.cross"
|
|
|
|
source "config/debug/gdb.in.native"
|
|
|
|
source "config/debug/gdb.in.gdbserver"
|
2009-03-26 18:58:13 +00:00
|
|
|
|
2011-04-27 22:21:27 +00:00
|
|
|
if GDB_CROSS || GDB_NATIVE || GDB_GDBSERVER
|
|
|
|
|
|
|
|
comment "gdb version"
|
|
|
|
|
|
|
|
config DEBUG_GDB_SHOW_LINARO
|
|
|
|
bool
|
|
|
|
prompt "Show Linaro versions (EXPERIMENTAL)"
|
|
|
|
depends on EXPERIMENTAL
|
|
|
|
help
|
|
|
|
Linaro is maintaining some advanced/more stable/experimental versions
|
|
|
|
of gdb, especially for the ARM architecture.
|
|
|
|
|
|
|
|
Those versions have not been blessed by the gdb community (nor have they
|
|
|
|
been cursed either!), but they look to be pretty much stable, and even
|
|
|
|
more stable than the upstream versions. YMMV...
|
|
|
|
|
|
|
|
If you do not know what this Linaro stuff is, then simply say 'n' here,
|
|
|
|
and rest in peace. OTOH, if you know what you are doing, you will be
|
|
|
|
able to use and enjoy :-) the Linaro versions by saying 'y' here.
|
|
|
|
|
|
|
|
Linaro: http://www.linaro.org/
|
|
|
|
|
2007-05-17 16:22:51 +00:00
|
|
|
choice
|
|
|
|
bool
|
|
|
|
prompt "gdb version"
|
2009-09-13 16:38:06 +00:00
|
|
|
# Don't remove next line
|
|
|
|
# CT_INSERT_VERSION_BELOW
|
2007-05-17 16:22:51 +00:00
|
|
|
|
2011-05-25 19:21:03 +00:00
|
|
|
config GDB_V_linaro_7_2_2011_05_0
|
2011-02-17 22:05:34 +00:00
|
|
|
bool
|
2011-05-25 19:21:03 +00:00
|
|
|
prompt "linaro-7.2-2011.05-0 (EXPERIMENTAL)"
|
2011-04-27 22:21:27 +00:00
|
|
|
depends on DEBUG_GDB_SHOW_LINARO
|
2011-02-17 22:05:34 +00:00
|
|
|
select GDB_7_0_or_later
|
|
|
|
|
2010-10-29 18:42:17 +00:00
|
|
|
config GDB_V_7_2
|
|
|
|
bool
|
|
|
|
prompt "7.2 (EXPERIMENTAL)"
|
|
|
|
depends on EXPERIMENTAL
|
|
|
|
select GDB_7_0_or_later
|
|
|
|
|
2010-03-30 19:22:23 +00:00
|
|
|
config GDB_V_7_1
|
|
|
|
bool
|
|
|
|
prompt "7.1 (EXPERIMENTAL)"
|
|
|
|
depends on EXPERIMENTAL
|
|
|
|
select GDB_7_0_or_later
|
|
|
|
|
2010-01-08 23:54:46 +00:00
|
|
|
config GDB_V_7_0_1
|
|
|
|
bool
|
|
|
|
prompt "7.0.1 (EXPERIMENTAL)"
|
|
|
|
depends on EXPERIMENTAL
|
2010-03-20 17:49:15 +00:00
|
|
|
select GDB_7_0_or_later
|
2010-01-08 23:54:46 +00:00
|
|
|
|
2009-10-28 17:34:49 +00:00
|
|
|
config GDB_V_7_0
|
|
|
|
bool
|
|
|
|
prompt "7.0 (EXPERIMENTAL)"
|
|
|
|
depends on EXPERIMENTAL
|
2010-03-20 17:49:15 +00:00
|
|
|
select GDB_7_0_or_later
|
2009-10-28 17:34:49 +00:00
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config GDB_V_6_8
|
2007-05-17 16:22:51 +00:00
|
|
|
bool
|
2009-09-13 15:51:33 +00:00
|
|
|
prompt "6.8"
|
2007-05-17 16:22:51 +00:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2010-03-20 17:49:15 +00:00
|
|
|
config GDB_7_0_or_later
|
|
|
|
bool
|
|
|
|
|
2007-05-17 16:22:51 +00:00
|
|
|
config GDB_VERSION
|
|
|
|
string
|
2009-09-13 16:38:06 +00:00
|
|
|
# Don't remove next line
|
|
|
|
# CT_INSERT_VERSION_STRING_BELOW
|
2011-05-25 19:21:03 +00:00
|
|
|
default "linaro-7.2-2011.05-0" if GDB_V_linaro_7_2_2011_05_0
|
2010-10-29 18:42:17 +00:00
|
|
|
default "7.2" if GDB_V_7_2
|
2010-03-30 19:22:23 +00:00
|
|
|
default "7.1" if GDB_V_7_1
|
2010-01-08 23:54:46 +00:00
|
|
|
default "7.0.1" if GDB_V_7_0_1
|
2009-10-28 17:34:49 +00:00
|
|
|
default "7.0" if GDB_V_7_0
|
2008-05-02 21:54:46 +00:00
|
|
|
default "6.8" if GDB_V_6_8
|
2011-04-27 22:21:27 +00:00
|
|
|
|
|
|
|
endif
|