projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
374cb30
)
* simops.c: Handle "break" instruction.
author
Jeff Law
<law@redhat.com>
Mon, 16 Dec 1996 22:31:37 +0000
(22:31 +0000)
committer
Jeff Law
<law@redhat.com>
Mon, 16 Dec 1996 22:31:37 +0000
(22:31 +0000)
sim/mn10300/ChangeLog
patch
|
blob
|
history
sim/mn10300/simops.c
patch
|
blob
|
history
diff --git
a/sim/mn10300/ChangeLog
b/sim/mn10300/ChangeLog
index 69a7b4dcc46a28234b18e5924f0e1a9e1d6bc801..db9a6d2c1f2efa7fc5d598dcf6d39e34a534f832 100644
(file)
--- a/
sim/mn10300/ChangeLog
+++ b/
sim/mn10300/ChangeLog
@@
-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)
diff --git
a/sim/mn10300/simops.c
b/sim/mn10300/simops.c
index ff0a915946061a81bc2fad9c0c2fa440049dc25d..b406c41c6e37243aa3da39921dba96896504edeb 100644
(file)
--- a/
sim/mn10300/simops.c
+++ b/
sim/mn10300/simops.c
@@
-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;
+}
+