From: Jackie Smith Cashion Date: Thu, 26 Sep 1996 16:42:57 +0000 (+0000) Subject: Thu Sep 26 17:35:00 1996 James G. Smith X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=21cea5d45d97f06ab662380716cd4588ddde6de4;p=binutils-gdb.git Thu Sep 26 17:35:00 1996 James G. Smith * interp.c (SignalException): Check for explicit terminating breakpoint value. * gencode.c: Pass instruction value through SignalException() calls for Trap, Breakpoint and Syscall. --- diff --git a/sim/mips/gencode.c b/sim/mips/gencode.c index dce648ae93e..eef4cad6517 100644 --- a/sim/mips/gencode.c +++ b/sim/mips/gencode.c @@ -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 ;