aboutsummaryrefslogtreecommitdiff
path: root/cpu-exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpu-exec.c')
-rw-r--r--cpu-exec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu-exec.c b/cpu-exec.c
index 8d70c89a9c..bad0805d9f 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -354,6 +354,8 @@ int cpu_exec(CPUState *env1)
env->exception_is_int,
env->error_code,
env->exception_next_eip);
+ /* successfully delivered */
+ env->old_exception = -1;
#endif
ret = env->exception_index;
break;