When -icount is used and a TB is recompiled due to an IO access
[qemu] / cpu-exec.c
index ed1545b..0a49a7e 100644 (file)
@@ -86,6 +86,7 @@ void cpu_resume_from_signal(CPUState *env1, void *puc)
 #endif
     }
 #endif
+    env->exception_index = -1;
     longjmp(env->jmp_env, 1);
 }