summaryrefslogtreecommitdiff
path: root/config/debug/gdb.in.gdbserver
diff options
context:
space:
mode:
Diffstat (limited to 'config/debug/gdb.in.gdbserver')
-rw-r--r--config/debug/gdb.in.gdbserver26
1 files changed, 26 insertions, 0 deletions
diff --git a/config/debug/gdb.in.gdbserver b/config/debug/gdb.in.gdbserver
new file mode 100644
index 0000000..23f0fe5
--- /dev/null
+++ b/config/debug/gdb.in.gdbserver
@@ -0,0 +1,26 @@
+# Menu for the native gdbserver
+
+config GDB_GDBSERVER
+ bool
+ prompt "gdbserver"
+ default n
+ depends on ! BARE_METAL
+ help
+ Build and install a gdbserver for the target, to run on the target.
+
+if GDB_GDBSERVER
+
+config GDB_GDBSERVER_STATIC
+ bool
+ prompt "Build a static gdbserver"
+ default y
+ help
+ In case you have trouble with dynamic loading of shared libraries,
+ you will find that a static gdbserver comes in handy.
+
+endif # GDB_GDBSERVER
+
+if BARE_METAL
+comment "In bare-metal, you'll need to "
+comment "provide your own gdbserver stub."
+endif # BARE_METAL