From 21cea5d45d97f06ab662380716cd4588ddde6de4 Mon Sep 17 00:00:00 2001 From: Jackie Smith Cashion Date: Thu, 26 Sep 1996 16:42:57 +0000 Subject: [PATCH] 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. --- sim/mips/gencode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sim/mips/gencode.c b/sim/mips/gencode.c index dce648ae93..eef4cad651 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 ;