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
|
2012-12-26 18:54:12 +00:00
|
|
|
prompt "Show Linaro versions"
|
2011-04-27 22:21:27 +00:00
|
|
|
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
|
|
|
|
2013-11-16 10:33:31 +00:00
|
|
|
|
|
|
|
config GDB_V_7_6_1
|
|
|
|
bool
|
|
|
|
prompt "7.6.1"
|
|
|
|
select GDB_7_0_or_later
|
|
|
|
select GDB_7_2_or_later
|
|
|
|
|
2013-06-28 20:35:06 +00:00
|
|
|
config GDB_V_linaro_7_6_2013_05
|
|
|
|
bool
|
|
|
|
prompt "linaro-7.6-2013.05"
|
|
|
|
depends on DEBUG_GDB_SHOW_LINARO
|
|
|
|
select GDB_7_0_or_later
|
|
|
|
select GDB_7_2_or_later
|
|
|
|
|
2013-11-16 10:33:31 +00:00
|
|
|
config GDB_V_7_5_1
|
|
|
|
bool
|
|
|
|
prompt "7.5.1"
|
|
|
|
select GDB_7_0_or_later
|
|
|
|
select GDB_7_2_or_later
|
|
|
|
|
2012-12-17 16:17:23 +00:00
|
|
|
config GDB_V_linaro_7_5_2012_12_1
|
2012-09-21 14:14:50 +00:00
|
|
|
bool
|
2012-12-26 18:54:12 +00:00
|
|
|
prompt "linaro-7.5-2012.12-1"
|
2012-09-21 14:14:50 +00:00
|
|
|
depends on DEBUG_GDB_SHOW_LINARO
|
|
|
|
select GDB_7_0_or_later
|
|
|
|
select GDB_7_2_or_later
|
|
|
|
|
2012-06-14 21:04:28 +00:00
|
|
|
config GDB_V_linaro_7_4_2012_06
|
2012-03-15 12:20:34 +00:00
|
|
|
bool
|
2012-12-26 18:54:12 +00:00
|
|
|
prompt "linaro-7.4-2012.06"
|
2012-03-15 12:20:34 +00:00
|
|
|
depends on DEBUG_GDB_SHOW_LINARO
|
|
|
|
select GDB_7_0_or_later
|
2012-05-17 16:07:28 +00:00
|
|
|
select GDB_7_2_or_later
|
2012-03-15 12:20:34 +00:00
|
|
|
|
2012-07-03 03:31:06 +00:00
|
|
|
config GDB_V_7_4_1
|
|
|
|
bool
|
2012-12-26 18:54:12 +00:00
|
|
|
prompt "7.4.1"
|
2012-07-03 03:31:06 +00:00
|
|
|
select GDB_7_0_or_later
|
|
|
|
select GDB_7_2_or_later
|
|
|
|
|
|
|
|
config GDB_V_7_4
|
|
|
|
bool
|
2012-12-26 18:54:12 +00:00
|
|
|
prompt "7.4"
|
2012-07-03 03:31:06 +00:00
|
|
|
select GDB_7_0_or_later
|
|
|
|
select GDB_7_2_or_later
|
|
|
|
|
2011-12-12 12:27:59 +00:00
|
|
|
config GDB_V_linaro_7_3_2011_12
|
2011-08-18 14:05:48 +00:00
|
|
|
bool
|
2012-12-26 18:54:12 +00:00
|
|
|
prompt "linaro-7.3-2011.12"
|
2011-08-18 14:05:48 +00:00
|
|
|
depends on DEBUG_GDB_SHOW_LINARO
|
|
|
|
select GDB_7_0_or_later
|
2012-05-17 16:07:28 +00:00
|
|
|
select GDB_7_2_or_later
|
2011-08-18 14:05:48 +00:00
|
|
|
|
2012-07-03 03:31:06 +00:00
|
|
|
config GDB_V_7_3_1
|
|
|
|
bool
|
2012-12-26 18:54:12 +00:00
|
|
|
prompt "7.3.1"
|
2012-07-03 03:31:06 +00:00
|
|
|
select GDB_7_0_or_later
|
|
|
|
select GDB_7_2_or_later
|
|
|
|
|
2011-09-09 12:15:10 +00:00
|
|
|
config GDB_V_7_3a
|
2011-08-18 14:05:48 +00:00
|
|
|
bool
|
2012-12-26 18:54:12 +00:00
|
|
|
prompt "7.3a"
|
2011-08-18 14:05:48 +00:00
|
|
|
select GDB_7_0_or_later
|
2012-05-17 16:07:28 +00:00
|
|
|
select GDB_7_2_or_later
|
2011-08-18 14:05:48 +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
|
2012-12-26 18:54:12 +00:00
|
|
|
prompt "linaro-7.2-2011.05-0"
|
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
|
2012-05-17 16:07:28 +00:00
|
|
|
select GDB_7_2_or_later
|
2011-02-17 22:05:34 +00:00
|
|
|
|
2011-09-09 12:15:10 +00:00
|
|
|
config GDB_V_7_2a
|
2010-10-29 18:42:17 +00:00
|
|
|
bool
|
2012-12-26 18:54:12 +00:00
|
|
|
prompt "7.2a"
|
2010-10-29 18:42:17 +00:00
|
|
|
select GDB_7_0_or_later
|
2012-05-17 16:07:28 +00:00
|
|
|
select GDB_7_2_or_later
|
2010-10-29 18:42:17 +00:00
|
|
|
|
2011-09-09 12:15:10 +00:00
|
|
|
config GDB_V_7_1a
|
2010-03-30 19:22:23 +00:00
|
|
|
bool
|
2012-12-26 18:54:12 +00:00
|
|
|
prompt "7.1a"
|
2010-03-30 19:22:23 +00:00
|
|
|
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
|
2012-12-26 18:54:12 +00:00
|
|
|
prompt "7.0.1a"
|
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
|
2012-12-26 18:54:12 +00:00
|
|
|
prompt "7.0a"
|
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
|
|
|
|
2012-10-11 04:39:42 +00:00
|
|
|
config GDB_CUSTOM
|
|
|
|
bool
|
|
|
|
prompt "Custom gdb"
|
|
|
|
depends on EXPERIMENTAL
|
|
|
|
select GDB_7_0_or_later
|
|
|
|
select GDB_7_2_or_later
|
|
|
|
|
2007-05-17 16:22:51 +00:00
|
|
|
endchoice
|
|
|
|
|
2012-05-17 16:07:28 +00:00
|
|
|
config GDB_7_2_or_later
|
|
|
|
bool
|
|
|
|
|
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
|
2013-11-16 10:33:31 +00:00
|
|
|
default "7.6.1" if GDB_V_7_6_1
|
2013-06-28 20:35:06 +00:00
|
|
|
default "linaro-7.6-2013.05" if GDB_V_linaro_7_6_2013_05
|
2013-11-16 10:33:31 +00:00
|
|
|
default "7.5.1" if GDB_V_7_5_1
|
2012-12-17 16:17:23 +00:00
|
|
|
default "linaro-7.5-2012.12-1" if GDB_V_linaro_7_5_2012_12_1
|
2012-06-14 21:04:28 +00:00
|
|
|
default "linaro-7.4-2012.06" if GDB_V_linaro_7_4_2012_06
|
2012-07-03 03:31:06 +00:00
|
|
|
default "7.4.1" if GDB_V_7_4_1
|
|
|
|
default "7.4" if GDB_V_7_4
|
2011-12-12 12:27:59 +00:00
|
|
|
default "linaro-7.3-2011.12" if GDB_V_linaro_7_3_2011_12
|
2012-07-03 03:31:06 +00:00
|
|
|
default "7.3.1" if GDB_V_7_3_1
|
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
|
2012-10-11 04:39:42 +00:00
|
|
|
default "custom" if GDB_CUSTOM
|
|
|
|
|
|
|
|
if GDB_CUSTOM
|
|
|
|
|
|
|
|
config GDB_CUSTOM_LOCATION
|
|
|
|
string
|
|
|
|
prompt "Full path to custom gdb source"
|
|
|
|
default ""
|
|
|
|
help
|
|
|
|
Enter the path to the directory (or tarball) of your source for gdb,
|
|
|
|
or leave blank to use default CT_CUSTOM_LOCATION_ROOT_DIR/gdb
|
|
|
|
|
|
|
|
endif # GDB_CUSTOM
|
2011-04-27 22:21:27 +00:00
|
|
|
|
|
|
|
endif
|
2012-10-11 04:39:42 +00:00
|
|
|
|