summaryrefslogtreecommitdiff
path: root/sim/gdbinit.in
blob: f9cd5f32d2f4dc82fafd4f734c638a5fb7c95c1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
break sim_io_error
break sim_core_signal
# This symbol won't exist for non-cgen ports, but shouldn't be a big deal
# (other than gdb showing a warning on startup).
break cgen_rtx_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