mirror of
https://github.com/simh/simh.git
synced 2026-01-27 04:22:24 +00:00
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".
This commit is contained in:
committed by
Mark Pizzolato
parent
0185df8fee
commit
474f84244d
@@ -94,6 +94,8 @@ t_stat sim_set_cons_expect (int32 flg, CONST char *cptr);
|
||||
t_stat sim_set_cons_noexpect (int32 flg, CONST char *cptr);
|
||||
t_stat sim_set_pchar (int32 flag, CONST char *cptr);
|
||||
t_stat sim_set_cons_speed (int32 flag, CONST char *cptr);
|
||||
t_stat sim_set_dbgsignal (int32 flag, CONST char *cptr);
|
||||
t_stat sim_reset_dbgsignal (int32 flag, CONST char *cptr);
|
||||
t_stat sim_show_console (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
|
||||
t_stat sim_show_remote_console (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
|
||||
t_stat sim_show_kmap (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
|
||||
@@ -106,6 +108,7 @@ t_stat sim_show_cons_buff (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST
|
||||
t_stat sim_show_cons_log (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
|
||||
t_stat sim_show_cons_debug (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
|
||||
t_stat sim_show_cons_expect (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
|
||||
t_stat sim_show_dbgsignal (FILE *st, DEVICE *dptr, UNIT *uptr, int32 flag, CONST char *cptr);
|
||||
t_stat sim_check_console (int32 sec);
|
||||
t_stat sim_open_logfile (const char *filename, t_bool binary, FILE **pf, FILEREF **pref);
|
||||
t_stat sim_close_logfile (FILEREF **pref);
|
||||
|
||||
Reference in New Issue
Block a user