aboutsummaryrefslogtreecommitdiff
path: root/cpu-exec.c
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-03-31 20:28:52 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-03-31 20:28:52 +0000
commit678dde1323f864a46730c303223b40c4571c23bb (patch)
tree26bec94c0725edc7f351d815a697d4ff85750837 /cpu-exec.c
parenta80274c31bd94f7a345934d2544075a6d183ebac (diff)
downloadqemu-678dde1323f864a46730c303223b40c4571c23bb.zip
qemu-678dde1323f864a46730c303223b40c4571c23bb.tar.gz
qemu-678dde1323f864a46730c303223b40c4571c23bb.tar.bz2
Generate double and triple faults, by Bernhard Kauer.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2563 c046a42c-6fe2-441c-8c8c-71466251a162
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 d168886..4916b1a 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -360,6 +360,8 @@ int cpu_exec(CPUState *env1)
env->exception_is_int,
env->error_code,
env->exception_next_eip, 0);
+ /* successfully delivered */
+ env->old_exception = -1;
#elif defined(TARGET_PPC)
do_interrupt(env);
#elif defined(TARGET_MIPS)