summaryrefslogtreecommitdiff
path: root/sim/d10v/interp.c
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2000-01-06 03:07:20 +0000
committerJason Molenda <jmolenda@apple.com>2000-01-06 03:07:20 +0000
commitc3f6f71df382eaaaac4440a91e6f310d03fb8da6 (patch)
treef4c8a0660080321182558bd52319654a94e01ea5 /sim/d10v/interp.c
parent1b45fe546b666d1bd83d474b66525f1a69dbd92f (diff)
downloadbinutils-gdb-c3f6f71df382eaaaac4440a91e6f310d03fb8da6.tar.gz
import gdb-2000-01-05 snapshot
Diffstat (limited to 'sim/d10v/interp.c')
-rw-r--r--sim/d10v/interp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/d10v/interp.c b/sim/d10v/interp.c
index 2a9ae043c66..33b5dca30a5 100644
--- a/sim/d10v/interp.c
+++ b/sim/d10v/interp.c
@@ -102,6 +102,7 @@ lookup_hash (ins, size)
(*d10v_callback->printf_filtered)
(d10v_callback, "ERROR: Illegal instruction %x at PC %x\n", ins, PC);
State.exception = SIGILL;
+ State.pc_changed = 1; /* Don't increment the PC. */
return NULL;
}
h = h->next;