summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/debug/gdb.in.native22
1 files changed, 14 insertions, 8 deletions
diff --git a/config/debug/gdb.in.native b/config/debug/gdb.in.native
index be00606..c959e88 100644
--- a/config/debug/gdb.in.native
+++ b/config/debug/gdb.in.native
@@ -11,20 +11,13 @@ config GDB_NATIVE
if GDB_NATIVE
-config GDB_NATIVE_STATIC
- bool
- prompt "Build a static native gdb"
- default n
- help
- In case you have trouble with dynamic loading of shared libraries,
- you will find that a static gdb comes in handy.
-
config GDB_NATIVE_USE_GMP_MPFR
bool
prompt "Use GMP and MPFR"
default n
select GMP_TARGET
select MPFR_TARGET
+ select GDB_NATIVE_NO_STATIC
help
gdb can make use of the GMP and MPFR libraries.
@@ -35,4 +28,17 @@ config GDB_NATIVE_USE_GMP_MPFR
Setting this option will force building the GMP and MPFR libraries for
the target, and configure the native gdb to use them.
+config GDB_NATIVE_NO_STATIC
+ bool
+ default n
+
+config GDB_NATIVE_STATIC
+ bool
+ prompt "Build a static native gdb"
+ depends on ! GDB_NATIVE_NO_STATIC
+ default n
+ help
+ In case you have trouble with dynamic loading of shared libraries,
+ you will find that a static gdb comes in handy.
+
endif # GDB_NATIVE