summaryrefslogtreecommitdiff
path: root/config/debug/gdb.in.cross
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.cross
parent8e47201cf2c9c6a47385e2b7e65aed6715044cb4 (diff)
debug/gdb: split menuconfig for easier maintenance
Diffstat (limited to 'config/debug/gdb.in.cross')
-rw-r--r--config/debug/gdb.in.cross35
1 files changed, 35 insertions, 0 deletions
diff --git a/config/debug/gdb.in.cross b/config/debug/gdb.in.cross
new file mode 100644
index 0000000..4c04b7e
--- /dev/null
+++ b/config/debug/gdb.in.cross
@@ -0,0 +1,35 @@
+# Menu for the cross GDB
+
+config GDB_CROSS
+ bool
+ prompt "Cross-gdb"
+ default y
+ select GDB_GDBSERVER if ! BARE_METAL
+ help
+ Build and install a cross-gdb for the target, to run on host.
+
+if GDB_CROSS
+
+config GDB_CROSS_STATIC
+ bool
+ prompt "Build a static cross gdb"
+ default n
+ help
+ A static cross gdb can be usefull if you debug on a machine that is
+ not the one that is used to compile the toolchain.
+
+ That way, you can share the cross-gdb without installing a toolchain
+ on every machine that will be used to debug target programs.
+
+config GDB_CROSS_INSIGHT
+ bool
+ prompt "Use Insight instead (EXPERIMENTAL)"
+ default n
+ depends on EXPERIMENTAL
+ help
+ If you say 'Y' here, then Insight will be used to build the cross
+ debugger, instead of the plain gdb.
+
+ Insight is gdb plus a TCL/TK GUI: http://sourceware.org/insight/
+
+endif # GDB_CROSS