Require C++ support for gdbserver 7.12 or newer.

Also, do not select gdbserver for cross-gdb automatically, or it may
be selected even without meeting the dependencies (if C++ is not enabled)

Signed-off-by: Alexey Neyman <stilor@att.net>
This commit is contained in:
Alexey Neyman 2017-02-02 18:06:28 -08:00
parent 1baddb19ee
commit 26ce9942a3
2 changed files with 1 additions and 1 deletions

View File

@ -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

View File

@ -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.