2 unhandled ^Cs will abort

This commit is contained in:
Kelvin Sherlock 2019-02-20 00:07:59 -05:00
parent 6dd598be0c
commit 367d337674

View File

@ -1207,6 +1207,9 @@ int debug_shell(int code) {
static void do_sig_intr(int sig) {
/* todo -- raise() if halt already pending */
if (halt_sim & 4) {
abort();
}
set_halt(4);
}