diff options
Diffstat (limited to 'target-cris/helper.c')
-rw-r--r-- | target-cris/helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-cris/helper.c b/target-cris/helper.c index 4f5ffba..7770403 100644 --- a/target-cris/helper.c +++ b/target-cris/helper.c @@ -119,7 +119,7 @@ void do_interrupt(CPUState *env) /* These exceptions are genereated by the core itself. ERP should point to the insn following the brk. */ ex_vec = env->trap_vector; - env->pregs[PR_ERP] = env->pc + 2; + env->pregs[PR_ERP] = env->pc; break; case EXCP_NMI: |