diff --git a/ea64v.h b/ea64v.h index b11f094..62fc77e 100644 --- a/ea64v.h +++ b/ea64v.h @@ -10,7 +10,6 @@ static inline ea_t ea64v (unsigned short inst, ea_t earp) { unsigned short br; unsigned short i; unsigned short x; - unsigned short y; unsigned short xok; unsigned short a; unsigned short ixy; @@ -49,7 +48,7 @@ static inline ea_t ea64v (unsigned short inst, ea_t earp) { opcode = ((inst & 036000) != 032000) ? ((inst & 036000) >> 4) : ((inst & 076000) >> 4); opcode |= ((inst >> 2) & 3); /* opcode extension */ - TRACE(T_EAV, " new opcode=%#05o, y=%d, br=%d, ixy=%d, xok=%d\n", opcode, (y != 0), br, ixy, xok); + TRACE(T_EAV, " new opcode=%#05o, br=%d, ixy=%d, xok=%d\n", opcode, br, ixy, xok); #endif ea_s = getcrs16(PBH+br*2) | (ea_s & RINGMASK16); diff --git a/em.c b/em.c index 50993da..2f33428 100644 --- a/em.c +++ b/em.c @@ -1635,6 +1635,10 @@ void sensorcheck () { sensorabort = 1; } +void sigquit() { + fatal("Quit"); +} + /* machine check handler, called with check vector locations The first arg is used when PX is disabled, the 2nd when PX is enabled. */ @@ -4516,6 +4520,8 @@ main (int argc, char **argv) { signal (SIGTERM, sensorcheck); + signal (SIGQUIT, sigquit); + #ifndef NOTRACE /* open trace log */