summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/debug/gdb.in4
-rw-r--r--config/debug/gdb.in.cross1
2 files changed, 5 insertions, 0 deletions
diff --git a/config/debug/gdb.in b/config/debug/gdb.in
index 3aaff8e..a3f1930 100644
--- a/config/debug/gdb.in
+++ b/config/debug/gdb.in
@@ -147,11 +147,15 @@ config GDB_7_2_or_later
config GDB_7_0_or_later
bool
select GDB_HAS_PKGVERSION_BUGURL
+ select GDB_HAS_PYTHON
select GDB_INSTALL_GDBINIT
config GDB_HAS_PKGVERSION_BUGURL
bool
+config GDB_HAS_PYTHON
+ bool
+
config GDB_INSTALL_GDBINIT
bool
diff --git a/config/debug/gdb.in.cross b/config/debug/gdb.in.cross
index 7e66ce5..549cba2 100644
--- a/config/debug/gdb.in.cross
+++ b/config/debug/gdb.in.cross
@@ -35,6 +35,7 @@ config GDB_CROSS_SIM
config GDB_CROSS_PYTHON
bool
prompt "Enable python scripting"
+ depends on GDB_HAS_PYTHON
depends on ! GDB_CROSS_STATIC
default y
help