aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackie Smith Cashion <jsmith@redhat.com>1996-09-26 16:42:57 +0000
committerJackie Smith Cashion <jsmith@redhat.com>1996-09-26 16:42:57 +0000
commit21cea5d45d97f06ab662380716cd4588ddde6de4 (patch)
treeadbf9d83a63bd2a636b77bed1fd427f7822e6da7
parent617c07c61d093842fa46cb9c796a418ad93564ea (diff)
downloadgdb-21cea5d45d97f06ab662380716cd4588ddde6de4.zip
gdb-21cea5d45d97f06ab662380716cd4588ddde6de4.tar.gz
gdb-21cea5d45d97f06ab662380716cd4588ddde6de4.tar.bz2
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.
-rw-r--r--sim/mips/gencode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sim/mips/gencode.c b/sim/mips/gencode.c
index dce648a..eef4cad 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 ;