1
0
mirror of https://github.com/simh/simh.git synced 2026-01-27 12:32:24 +00:00
Files
simh.simh/sim_console.h
B. Scott Michel 474f84244d CONSOLE: Separate debug character from signal
Add the "DBGSIGNAL", "DBGSIG" options to enable sending the interrupt to
the user's debugger, which is presumably gdb.  Separates setting the
debugging interrupt character from the action so that it is possible to
turn debugger interrupts on and off:

     set console dbgint=1f dbgsignal
     set console nodbgsignal

Previously, this feature was only available if the compiler did not
define __OPTIMIZE__, which precludes optimized debugging code, i.e.,
compiling with "-O2 -g".
2025-03-20 16:29:35 -10:00

7.7 KiB