forked from Imagelibrary/binutils-gdb
* sim-if.c (do_trap): Treat traps 2-15 as hardware does.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
Tue May 19 16:45:33 1998 Doug Evans <devans@seba.cygnus.com>
|
||||
|
||||
* sim-if.c (do_trap): Treat traps 2-15 as hardware does.
|
||||
|
||||
Sat May 16 13:04:30 1998 Doug Evans <devans@seba.cygnus.com>
|
||||
|
||||
* sim-if.c (sim_stop): Update call to @cpu@_engine_stop.
|
||||
|
||||
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user