summaryrefslogtreecommitdiff
path: root/config/debug/gdb.in.gdbserver
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-03-15 20:42:55 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-03-15 20:42:55 (GMT)
commite20859d74cff676bc679667554dffc209dc367ca (patch)
treed5de1e4715f469241ebd985e2a8dc66288bbb8a0 /config/debug/gdb.in.gdbserver
parent8e47201cf2c9c6a47385e2b7e65aed6715044cb4 (diff)
debug/gdb: split menuconfig for easier maintenance
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