binutils-gdb/sim/gdbinit.in
Mike Frysinger 216722984f sim: gdbinit: hoist setup to common code
This was left in subdirs because of the dynamic cgen usage.  However,
we can move this breakpoint call to runtime and let gdb detect whether
the symbol exists.
2022-02-21 13:57:33 -05:00

15 lines
364 B
Plaintext

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