* simops.c: Handle "break" instruction.
This commit is contained in:
parent
374cb3020b
commit
093e9a32d3
@ -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)
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user