summaryrefslogtreecommitdiff
path: root/config/debug/gdb.in
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-01-14 03:54:08 (GMT)
committerAlexey Neyman <stilor@att.net>2017-01-14 05:47:07 (GMT)
commitd34a6bd8a0222fadfc86795f65ca9a7df232324d (patch)
treef83d6e8060642ba8643e4bf1a3004928a027df89 /config/debug/gdb.in
parentd7b313774e0881090d14dbd23339f67e8f0109d0 (diff)
GDB 7.12 needs c++.
Also, minor fixes in 300-gdb.sh Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config/debug/gdb.in')
-rw-r--r--config/debug/gdb.in13
1 files changed, 6 insertions, 7 deletions
diff --git a/config/debug/gdb.in b/config/debug/gdb.in
index dd8239f..a835b28 100644
--- a/config/debug/gdb.in
+++ b/config/debug/gdb.in
@@ -6,15 +6,13 @@ 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 GDB_CUSTOM
bool
prompt "Custom gdb"
depends on EXPERIMENTAL
- select GDB_7_2_or_later
+ select GDB_7_12_or_later
help
The choosen gdb version shall be not downloaded. Instead use
a custom location to get the source.
@@ -71,7 +69,7 @@ choice
config GDB_V_7_12
bool
prompt "7.12"
- select GDB_7_2_or_later
+ select GDB_7_12_or_later
config GDB_V_7_11
bool
@@ -224,6 +222,10 @@ endchoice
endif # ! GDB_CUSTOM
+config GDB_7_12_or_later
+ bool
+ select GDB_7_2_or_later
+
config GDB_7_2_or_later
bool
select GDB_7_0_or_later
@@ -280,6 +282,3 @@ config GDB_VERSION
default "6.8a" if GDB_V_6_8a
endif # ! GDB_CUSTOM
-
-endif # GDB_CROSS || GDB_NATIVE || GDB_GDBSERVER
-