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-08-18 14:05:48 +00:00
|
|
|
config GDB_V_linaro_7_3_2011_08
|
|
|
|
bool
|
|
|
|
prompt "linaro-7.3-2011.08 (EXPERIMENTAL)"
|
|
|
|
depends on DEBUG_GDB_SHOW_LINARO
|
|
|
|
select GDB_7_0_or_later
|
|
|
|
|
2011-09-09 12:15:10 +00:00
|
|
|
config GDB_V_7_3a
|
2011-08-18 14:05:48 +00:00
|
|
|
bool
|
2011-09-09 12:15:10 +00:00
|
|
|
prompt "7.3a (EXPERIMENTAL)"
|
2011-08-18 14:05:48 +00:00
|
|
|
depends on EXPERIMENTAL
|
|
|
|
select GDB_7_0_or_later
|
|
|
|
|
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
|
|
|
|
|
2011-09-09 12:15:10 +00:00
|
|
|
config GDB_V_7_2a
|
2010-10-29 18:42:17 +00:00
|
|
|
bool
|
2011-09-09 12:15:10 +00:00
|
|
|
prompt "7.2a (EXPERIMENTAL)"
|
2010-10-29 18:42:17 +00:00
|
|
|
depends on EXPERIMENTAL
|
|
|
|
select GDB_7_0_or_later
|
|
|
|
|
2011-09-09 12:15:10 +00:00
|
|
|
config GDB_V_7_1a
|
2010-03-30 19:22:23 +00:00
|
|
|
bool
|
2011-09-09 12:15:10 +00:00
|
|
|
prompt "7.1a (EXPERIMENTAL)"
|
2010-03-30 19:22:23 +00:00
|
|
|
depends on EXPERIMENTAL
|
|
|
|
select GDB_7_0_or_later
|
|
|
|
|
2011-09-09 12:15:10 +00:00
|
|
|
config GDB_V_7_0_1a
|
2010-01-08 23:54:46 +00:00
|
|
|
bool
|
2011-09-09 12:15:10 +00:00
|
|
|
prompt "7.0.1a (EXPERIMENTAL)"
|
2010-01-08 23:54:46 +00:00
|
|
|
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
|
|
|
|
2011-09-09 12:15:10 +00:00
|
|
|
config GDB_V_7_0a
|
2009-10-28 17:34:49 +00:00
|
|
|
bool
|
2011-09-09 12:15:10 +00:00
|
|
|
prompt "7.0a (EXPERIMENTAL)"
|
2009-10-28 17:34:49 +00:00
|
|
|
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
|
|
|
|
2011-09-09 12:15:10 +00:00
|
|
|
config GDB_V_6_8a
|
2007-05-17 16:22:51 +00:00
|
|
|
bool
|
2011-09-09 12:15:10 +00:00
|
|
|
prompt "6.8a"
|
2007-05-17 16:22:51 +00:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
2010-03-20 17:49:15 +00:00
|
|
|
config GDB_7_0_or_later
|
|
|
|
bool
|
2011-05-31 19:03:03 +00:00
|
|
|
select GDB_HAS_PKGVERSION_BUGURL
|
2011-07-29 22:05:53 +00:00
|
|
|
select GDB_INSTALL_GDBINIT
|
2011-05-31 19:03:03 +00:00
|
|
|
|
|
|
|
config GDB_HAS_PKGVERSION_BUGURL
|
|
|
|
bool
|
2010-03-20 17:49:15 +00:00
|
|
|
|
2011-07-29 22:05:53 +00:00
|
|
|
config GDB_INSTALL_GDBINIT
|
|
|
|
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-08-18 14:05:48 +00:00
|
|
|
default "linaro-7.3-2011.08" if GDB_V_linaro_7_3_2011_08
|
2011-09-09 12:15:10 +00:00
|
|
|
default "7.3a" if GDB_V_7_3a
|
2011-05-25 19:21:03 +00:00
|
|
|
default "linaro-7.2-2011.05-0" if GDB_V_linaro_7_2_2011_05_0
|
2011-09-09 12:15:10 +00:00
|
|
|
default "7.2a" if GDB_V_7_2a
|
|
|
|
default "7.1a" if GDB_V_7_1a
|
|
|
|
default "7.0.1a" if GDB_V_7_0_1a
|
|
|
|
default "7.0a" if GDB_V_7_0a
|
|
|
|
default "6.8a" if GDB_V_6_8a
|
2011-04-27 22:21:27 +00:00
|
|
|
|
|
|
|
endif
|