summaryrefslogtreecommitdiff
path: root/config/debug
diff options
context:
space:
mode:
Diffstat (limited to 'config/debug')
-rw-r--r--config/debug/gdb.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/debug/gdb.in b/config/debug/gdb.in
index 7fc539e..d92cd62 100644
--- a/config/debug/gdb.in
+++ b/config/debug/gdb.in
@@ -40,3 +40,9 @@ config GDB_HAS_IPA_LIB
config GDB_CONST_GET_THREAD_AREA
bool
default y if GDB_older_than_7_12
+
+# As of GDB 10.x gdbserver is now at the toplevel of the distributed
+# tarball (instead of a subdirectory of gdb)
+config GDB_GDBSERVER_TOPLEVEL
+ def_bool y
+ depends on GDB_10_2_or_later