aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-12 12:04:40 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-12 12:04:40 +0000
commiteba01623abd1e788e6fb5c104f31973fc31c5fa4 (patch)
treea3885d301c88e6d1bc4ef00240d39be64f90f383
parenta57f63167c3a04a42c5b4762045445b2e0685a31 (diff)
the double/triple fault handling was not tested in user mode.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4435 c046a42c-6fe2-441c-8c8c-71466251a162
-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;