* sim-if.c (do_trap): Treat traps 2-15 as hardware does.
This commit is contained in:
parent
71842815b0
commit
f99354d0c0
2 changed files with 8 additions and 2 deletions
|
@ -487,8 +487,10 @@ do_trap (SIM_CPU *current_cpu, int num)
|
|||
break;
|
||||
|
||||
default :
|
||||
/* Unless in the operating environment, ignore other traps. */
|
||||
break;
|
||||
{
|
||||
USI new_pc = num * 4;
|
||||
return new_pc;
|
||||
}
|
||||
}
|
||||
|
||||
/* Fake an "rte" insn. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue