summaryrefslogtreecommitdiff
path: root/sim/fr30/traps.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-10-05 23:13:16 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-10-05 23:13:16 +0000
commit7e0dae8dc181549082baf0824eec205d9618edd2 (patch)
tree34896d53b164cddfd16cc96e238cb7ea538e1db3 /sim/fr30/traps.c
parentd25b6ff742d5a75f3d32457f2a11df604fdee548 (diff)
downloadgdb-7e0dae8dc181549082baf0824eec205d9618edd2.tar.gz
import gdb-1999-10-04 snapshotgdb-1999-10-04
Diffstat (limited to 'sim/fr30/traps.c')
-rw-r--r--sim/fr30/traps.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sim/fr30/traps.c b/sim/fr30/traps.c
index 11f7a30605d..25cd7b99459 100644
--- a/sim/fr30/traps.c
+++ b/sim/fr30/traps.c
@@ -24,8 +24,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
/* The semantic code invokes this for invalid (unrecognized) instructions. */
-void
-sim_engine_invalid_insn (SIM_CPU *current_cpu, IADDR cia)
+SEM_PC
+sim_engine_invalid_insn (SIM_CPU *current_cpu, IADDR cia, SEM_PC vpc)
{
SIM_DESC sd = CPU_STATE (current_cpu);
@@ -47,6 +47,7 @@ sim_engine_invalid_insn (SIM_CPU *current_cpu, IADDR cia)
else
#endif
sim_engine_halt (sd, current_cpu, NULL, cia, sim_stopped, SIM_SIGILL);
+ return vpc;
}
/* Process an address exception. */