* simops.c: Handle "break" instruction.
authorJeff Law <law@redhat.com>
Mon, 16 Dec 1996 22:31:37 +0000 (22:31 +0000)
committerJeff Law <law@redhat.com>
Mon, 16 Dec 1996 22:31:37 +0000 (22:31 +0000)
sim/mn10300/ChangeLog
sim/mn10300/simops.c

index 69a7b4dcc46a28234b18e5924f0e1a9e1d6bc801..db9a6d2c1f2efa7fc5d598dcf6d39e34a534f832 100644 (file)
@@ -1,5 +1,7 @@
 Mon Dec 16 10:03:52 1996  Jeffrey A Law  (law@cygnus.com)
 
+       * simops.c: Handle "break" instruction.
+
        * simops.c: Fix restoring the PC for "ret" and "retf" instructions.
 
 Wed Dec 11 09:53:10 1996  Jeffrey A Law  (law@cygnus.com)
index ff0a915946061a81bc2fad9c0c2fa440049dc25d..b406c41c6e37243aa3da39921dba96896504edeb 100644 (file)
@@ -3071,3 +3071,13 @@ void OP_F670 (insn, extension)
 {
   abort ();
 }
+
+/* breakpoint */
+void
+OP_FF (insn, extension)
+     unsigned long insn, extension;
+{
+  State.exception = SIGTRAP;
+  PC -= 1;
+}
+
This page took 0.042633 seconds and 4 git commands to generate.