aboutsummaryrefslogtreecommitdiff
path: root/sim/common/gdbinit.in
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/gdbinit.in')
-rw-r--r--sim/common/gdbinit.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/sim/common/gdbinit.in b/sim/common/gdbinit.in
new file mode 100644
index 0000000..ddda344
--- /dev/null
+++ b/sim/common/gdbinit.in
@@ -0,0 +1,10 @@
+break sim_io_error
+
+define dump
+set sim_debug_dump ()
+end
+
+document dump
+Dump cpu and simulator registers for debugging the simulator.
+Requires the simulator to provide function sim_debug_dump.
+end