summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-02-03 19:57:07 (GMT)
committerGitHub <noreply@github.com>2017-02-03 19:57:07 (GMT)
commit295381ab7ac4e7d68a47fecaf1084e7523c555a3 (patch)
tree40e2acba19abb3907c3ca20b342e77adf1f3833b
parent1baddb19ee04bc5e7603cc147f5800f2ecfa944f (diff)
parent26ce9942a3bbb68268ba8929aab6f9fee2eb1f97 (diff)
Merge pull request #571 from stilor/issue-569
Require C++ support for gdbserver 7.12 or newer
-rw-r--r--config/debug/gdb.in.cross1
-rw-r--r--config/debug/gdb.in.gdbserver1
2 files changed, 1 insertions, 1 deletions
diff --git a/config/debug/gdb.in.cross b/config/debug/gdb.in.cross
index fb993c9..945f8eb 100644
--- a/config/debug/gdb.in.cross
+++ b/config/debug/gdb.in.cross
@@ -7,7 +7,6 @@ config GDB_CROSS
bool
prompt "Cross-gdb"
default y
- select GDB_GDBSERVER if ! BARE_METAL
select EXPAT_NEEDED
select NCURSES_NEEDED
help
diff --git a/config/debug/gdb.in.gdbserver b/config/debug/gdb.in.gdbserver
index 8d8fce5..feb3a0d 100644
--- a/config/debug/gdb.in.gdbserver
+++ b/config/debug/gdb.in.gdbserver
@@ -4,6 +4,7 @@ config GDB_GDBSERVER
bool
prompt "gdbserver"
depends on ! BARE_METAL
+ depends on CC_LANG_CXX || !GDB_7_12_or_later
help
Build and install a gdbserver for the target, to run on the target.