mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-24 06:56:40 +00:00
32ac6af49f
Only starting with gdb-7 does installing the gdbinit sample makes senses. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
96 lines
2.2 KiB
Plaintext
96 lines
2.2 KiB
Plaintext
# GDB menu
|
|
|
|
## help gdb is the GNU debugger
|
|
|
|
source "config/debug/gdb.in.cross"
|
|
source "config/debug/gdb.in.native"
|
|
source "config/debug/gdb.in.gdbserver"
|
|
|
|
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/
|
|
|
|
choice
|
|
bool
|
|
prompt "gdb version"
|
|
# Don't remove next line
|
|
# CT_INSERT_VERSION_BELOW
|
|
|
|
config GDB_V_linaro_7_2_2011_05_0
|
|
bool
|
|
prompt "linaro-7.2-2011.05-0 (EXPERIMENTAL)"
|
|
depends on DEBUG_GDB_SHOW_LINARO
|
|
select GDB_7_0_or_later
|
|
|
|
config GDB_V_7_2
|
|
bool
|
|
prompt "7.2 (EXPERIMENTAL)"
|
|
depends on EXPERIMENTAL
|
|
select GDB_7_0_or_later
|
|
|
|
config GDB_V_7_1
|
|
bool
|
|
prompt "7.1 (EXPERIMENTAL)"
|
|
depends on EXPERIMENTAL
|
|
select GDB_7_0_or_later
|
|
|
|
config GDB_V_7_0_1
|
|
bool
|
|
prompt "7.0.1 (EXPERIMENTAL)"
|
|
depends on EXPERIMENTAL
|
|
select GDB_7_0_or_later
|
|
|
|
config GDB_V_7_0
|
|
bool
|
|
prompt "7.0 (EXPERIMENTAL)"
|
|
depends on EXPERIMENTAL
|
|
select GDB_7_0_or_later
|
|
|
|
config GDB_V_6_8
|
|
bool
|
|
prompt "6.8"
|
|
|
|
endchoice
|
|
|
|
config GDB_7_0_or_later
|
|
bool
|
|
select GDB_HAS_PKGVERSION_BUGURL
|
|
select GDB_INSTALL_GDBINIT
|
|
|
|
config GDB_HAS_PKGVERSION_BUGURL
|
|
bool
|
|
|
|
config GDB_INSTALL_GDBINIT
|
|
bool
|
|
|
|
config GDB_VERSION
|
|
string
|
|
# Don't remove next line
|
|
# CT_INSERT_VERSION_STRING_BELOW
|
|
default "linaro-7.2-2011.05-0" if GDB_V_linaro_7_2_2011_05_0
|
|
default "7.2" if GDB_V_7_2
|
|
default "7.1" if GDB_V_7_1
|
|
default "7.0.1" if GDB_V_7_0_1
|
|
default "7.0" if GDB_V_7_0
|
|
default "6.8" if GDB_V_6_8
|
|
|
|
endif
|