summaryrefslogtreecommitdiff
path: root/config/debug/gdb.in
diff options
context:
space:
mode:
Diffstat (limited to 'config/debug/gdb.in')
-rw-r--r--config/debug/gdb.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/config/debug/gdb.in b/config/debug/gdb.in
index 02882aa..a9fab10 100644
--- a/config/debug/gdb.in
+++ b/config/debug/gdb.in
@@ -17,3 +17,10 @@ config GDB_HAS_PYTHON
config GDB_INSTALL_GDBINIT
bool
default y if GDB_7_0_or_later
+
+# GDB 8.0 now requires C++ for build. GDB 7.12 offered a configure
+# switch to fall back to C. We want to use that option because
+# the conversion in 7.12 was incomplete and had some breakages.
+config GDB_HAS_DISABLE_CXX_BUILD
+ def_bool y
+ depends on GDB_7_12_or_later && !GDB_8_0_or_later