Thu Sep 26 17:35:00 1996 James G. Smith <jsmith@cygnus.co.uk>

* interp.c (SignalException): Check for explicit terminating
 	breakpoint value.
	* gencode.c: Pass instruction value through SignalException()
 	calls for Trap, Breakpoint and Syscall.
This commit is contained in:
Jackie Smith Cashion 1996-09-26 16:42:57 +00:00
parent 617c07c61d
commit 21cea5d45d

View File

@ -1204,11 +1204,11 @@ process_instructions(doarch,features)
break ;
case SYSCALL:
printf(" SignalException(SystemCall);\n");
printf(" SignalException(SystemCall,instruction);\n");
break ;
case BREAK:
printf(" SignalException(BreakPoint);\n");
printf(" SignalException(BreakPoint,instruction);\n");
break ;
case TRAP:
@ -1232,7 +1232,7 @@ process_instructions(doarch,features)
printf(" if ((%sword64)op1 ",(boolU ? "u" : ""));
printf("%c%s",(boolNOT ? '!' : (boolLT ? '<' : (boolGT ? '>' : '='))),(boolEQ ? "=" : ""));
printf(" (%sword64)op2)\n",(boolU ? "u" : ""));
printf(" SignalException(Trap);\n");
printf(" SignalException(Trap,instruction);\n");
}
break ;