On Tue, Jun 24, 2014 at 11:23:01AM -0700, Richard Henderson wrote: > > env->error_code = error; > > if (retaddr) { > > cpu_restore_state(cs, retaddr); > > + env->pc += 4; > > This one needs a different fix, since dynamic_excp is also used from > alpha_cpu_unassigned_access, and I'm pretty sure the mchk should have the > address of the memory insn. But that should be easy to fix up.
That's not a problem, actually - there we have dynamic_excp(env, 0, EXCP_MCHK, 0); so retaddr is going to be 0 and that env->pc += 4 won't be reached at all...