summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-04-27 22:21:27 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2011-04-27 22:21:27 (GMT)
commite449978ee90e4bee6a56c4a24d36a6f3a106f29f (patch)
treedd2ed703dd5f44a31f0c6307da10f8bcf37c9e44 /config
parent8d769a27a9130c4659804b411a2ce6a0326133e9 (diff)
debug/gdb: hide Linaro options by default
It can be quite confusing for a new-comer to find strange version numbers for gdb, so hide the Linaro versions by default. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Diffstat (limited to 'config')
-rw-r--r--config/debug/gdb.in27
1 files changed, 25 insertions, 2 deletions
diff --git a/config/debug/gdb.in b/config/debug/gdb.in
index e9418b5..77e3ede 100644
--- a/config/debug/gdb.in
+++ b/config/debug/gdb.in
@@ -8,17 +8,38 @@ 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"
- depends on GDB_CROSS || GDB_NATIVE || GDB_GDBSERVER
# Don't remove next line
# CT_INSERT_VERSION_BELOW
config GDB_V_linaro_7_2_2011_02_0
bool
prompt "linaro-7.2-2011.02-0 (EXPERIMENTAL)"
- depends on EXPERIMENTAL
+ depends on DEBUG_GDB_SHOW_LINARO
select GDB_7_0_or_later
config GDB_V_7_2
@@ -64,3 +85,5 @@ config GDB_VERSION
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