* simops.c: Handle "break" instruction.

This commit is contained in:
Jeff Law 1996-12-16 22:31:37 +00:00
parent 374cb3020b
commit 093e9a32d3
2 changed files with 12 additions and 0 deletions

View 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)

View 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;
}