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"
|
|
|
|
|
2015-11-26 13:07:37 +00:00
|
|
|
config GDB_CUSTOM
|
|
|
|
bool
|
|
|
|
prompt "Custom gdb"
|
|
|
|
depends on EXPERIMENTAL
|
|
|
|
select GDB_7_2_or_later
|
|
|
|
help
|
|
|
|
The choosen gdb version shall be not downloaded. Instead use
|
|
|
|
a custom location to get the source.
|
|
|
|
|
|
|
|
if GDB_CUSTOM
|
|
|
|
|
|
|
|
config GDB_CUSTOM_LOCATION
|
|
|
|
string
|
|
|
|
prompt "Full path to custom gdb source"
|
|
|
|
help
|
|
|
|
Enter the path to the directory or tarball of your source for gcc.
|
|
|
|
|
|
|
|
If the path is a tarball, it should extract to: <name>-<version>/
|
|
|
|
where the name is this component, gcc, and the version is set
|
|
|
|
below in the custom version string.
|
|
|
|
|
|
|
|
config GDB_CUSTOM_VERSION
|
|
|
|
string
|
|
|
|
prompt "Custom GDB version"
|
|
|
|
help
|
|
|
|
Enter the version number for your custom gdb.
|
|
|
|
|
|
|
|
config GDB_VERSION
|
|
|
|
string
|
|
|
|
default GDB_CUSTOM_VERSION
|
|
|
|
|
|
|
|
endif # GDB_CUSTOM
|
|
|
|
|
|
|
|
if ! GDB_CUSTOM
|
|
|
|
|
2011-04-27 22:21:27 +00:00
|
|
|
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
|
|
|
|
2016-02-24 22:00:23 +00:00
|
|
|
config GDB_V_7_11
|
|
|
|
bool
|
|
|
|
prompt "7.11"
|
|
|
|
select GDB_7_2_or_later
|
|
|
|
|
2016-02-05 11:27:08 +00:00
|
|
|
config GDB_V_7_10_1
|
|
|
|
bool
|
|
|
|
prompt "7.10.1"
|
|
|
|
select GDB_7_2_or_later
|
|
|
|
|
2015-09-02 01:51:25 +00:00
|
|
|
config GDB_V_7_10
|
|
|
|
bool
|
|
|
|
prompt "7.10"
|
|
|
|
select GDB_7_2_or_later
|
|
|
|
|
2015-05-16 18:29:52 +00:00
|
|
|
config GDB_V_7_9_1
|
|
|
|
bool
|
|
|
|
prompt "7.9.1"
|
|
|
|
select GDB_7_2_or_later
|
|
|
|
|
2015-03-07 14:05:35 +00:00
|
|
|
config GDB_V_7_9
|
|
|
|
bool
|
|
|
|
prompt "7.9"
|
|
|
|
select GDB_7_2_or_later
|
|
|
|
|
2015-01-06 22:27:39 +00:00
|
|
|
config GDB_V_linaro_7_8
|
|
|
|
bool
|
|
|
|
prompt "linaro-7.8-2014.09"
|
|
|
|
depends on DEBUG_GDB_SHOW_LINARO
|
|
|
|
select GDB_7_2_or_later
|
|
|
|
|
2015-03-07 14:05:35 +00:00
|
|
|
config GDB_V_7_8_2
|
|
|
|
bool
|
|
|
|
prompt "7.8.2"
|
|
|
|
select GDB_7_2_or_later
|
|
|
|
|
|
|
|
|
2014-12-05 07:44:19 +00:00
|
|
|
config GDB_V_7_8_1
|
|
|
|
bool
|
|
|
|
prompt "7.8.1"
|
|
|
|
select GDB_7_2_or_later
|
|
|
|
|
2014-08-17 22:10:00 +00:00
|
|
|
config GDB_V_7_8
|
|
|
|
bool
|
|
|
|
prompt "7.8"
|
|
|
|
select GDB_7_2_or_later
|
|
|
|
|
2014-07-19 06:52:06 +00:00
|
|
|
config GDB_V_7_7_1
|
|
|
|
bool
|
|
|
|
prompt "7.7.1"
|
|
|
|
select GDB_7_2_or_later
|
|
|
|
|
2014-02-15 14:49:57 +00:00
|
|
|
config GDB_V_7_7
|
|
|
|
bool
|
|
|
|
prompt "7.7"
|
|
|
|
select GDB_7_2_or_later
|
2013-11-16 10:33:31 +00:00
|
|
|
|
2015-01-06 22:27:39 +00:00
|
|
|
config GDB_V_linaro_7_6
|
|
|
|
bool
|
|
|
|
prompt "linaro-7.6.1-2013.10"
|
|
|
|
depends on DEBUG_GDB_SHOW_LINARO
|
|
|
|
select GDB_7_2_or_later
|
|
|
|
|
2013-11-16 10:33:31 +00:00
|
|
|
config GDB_V_7_6_1
|
|
|
|
bool
|
|
|
|
prompt "7.6.1"
|
|
|
|
select GDB_7_2_or_later
|
|
|
|
|
2015-01-06 22:27:39 +00:00
|
|
|
config GDB_V_linaro_7_5
|
2013-06-28 20:35:06 +00:00
|
|
|
bool
|
2015-01-06 22:27:39 +00:00
|
|
|
prompt "linaro-7.5-2012.12-1"
|
2013-06-28 20:35:06 +00:00
|
|
|
depends on DEBUG_GDB_SHOW_LINARO
|
|
|
|
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_2_or_later
|
|
|
|
|
2015-01-06 22:27:39 +00:00
|
|
|
config GDB_V_linaro_7_4
|
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
|
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_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_2_or_later
|
|
|
|
|
2015-01-06 22:27:39 +00:00
|
|
|
config GDB_V_linaro_7_3
|
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
|
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_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"
|
2012-05-17 16:07:28 +00:00
|
|
|
select GDB_7_2_or_later
|
2011-08-18 14:05:48 +00:00
|
|
|
|
2015-01-06 22:27:39 +00:00
|
|
|
config GDB_V_linaro_7_2
|
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
|
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"
|
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
|
|
|
|
2015-10-02 22:42:48 +00:00
|
|
|
endchoice
|
|
|
|
|
2015-11-26 13:07:37 +00:00
|
|
|
endif # ! GDB_CUSTOM
|
2007-05-17 16:22:51 +00:00
|
|
|
|
2012-05-17 16:07:28 +00:00
|
|
|
config GDB_7_2_or_later
|
|
|
|
bool
|
2014-05-10 02:08:00 +00:00
|
|
|
select GDB_7_0_or_later
|
2012-05-17 16:07:28 +00:00
|
|
|
|
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
|
2014-08-17 22:10:01 +00:00
|
|
|
select GDB_HAS_PYTHON
|
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
|
|
|
|
2014-08-17 22:10:01 +00:00
|
|
|
config GDB_HAS_PYTHON
|
|
|
|
bool
|
|
|
|
|
2011-07-29 22:05:53 +00:00
|
|
|
config GDB_INSTALL_GDBINIT
|
|
|
|
bool
|
|
|
|
|
2015-11-26 13:07:37 +00:00
|
|
|
if ! GDB_CUSTOM
|
|
|
|
|
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
|
2016-02-24 22:00:23 +00:00
|
|
|
default "7.11" if GDB_V_7_11
|
2016-02-05 11:27:08 +00:00
|
|
|
default "7.10.1" if GDB_V_7_10_1
|
2015-09-02 01:51:25 +00:00
|
|
|
default "7.10" if GDB_V_7_10
|
2015-05-16 18:29:52 +00:00
|
|
|
default "7.9.1" if GDB_V_7_9_1
|
2015-03-07 14:05:35 +00:00
|
|
|
default "7.9" if GDB_V_7_9
|
|
|
|
default "7.8.2" if GDB_V_7_8_2
|
2015-01-06 22:27:39 +00:00
|
|
|
default "linaro-7.8-2014.09" if GDB_V_linaro_7_8
|
2014-12-05 07:44:19 +00:00
|
|
|
default "7.8.1" if GDB_V_7_8_1
|
2014-08-17 22:10:00 +00:00
|
|
|
default "7.8" if GDB_V_7_8
|
2014-07-19 06:52:06 +00:00
|
|
|
default "7.7.1" if GDB_V_7_7_1
|
2014-02-15 14:49:57 +00:00
|
|
|
default "7.7" if GDB_V_7_7
|
2015-01-06 22:27:39 +00:00
|
|
|
default "linaro-7.6.1-2013.10" if GDB_V_linaro_7_6
|
2013-11-16 10:33:31 +00:00
|
|
|
default "7.6.1" if GDB_V_7_6_1
|
2015-01-06 22:27:39 +00:00
|
|
|
default "linaro-7.5-2012.12-1" if GDB_V_linaro_7_5
|
2013-11-16 10:33:31 +00:00
|
|
|
default "7.5.1" if GDB_V_7_5_1
|
2015-01-06 22:27:39 +00:00
|
|
|
default "linaro-7.4-2012.06" if GDB_V_linaro_7_4
|
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
|
2015-01-06 22:27:39 +00:00
|
|
|
default "linaro-7.3-2011.12" if GDB_V_linaro_7_3
|
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
|
|
|
|
2015-11-26 13:07:37 +00:00
|
|
|
endif # ! GDB_CUSTOM
|
2011-04-27 22:21:27 +00:00
|
|
|
|
2015-11-26 13:07:37 +00:00
|
|
|
endif # GDB_CROSS || GDB_NATIVE || GDB_GDBSERVER
|
2012-10-11 04:39:42 +00:00
|
|
|
|