aboutsummaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-07-31 23:09:18 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2007-07-31 23:09:18 +0000
commita2cce02c48cb9fda5dff3f6a8505380af7d392ff (patch)
tree05e4f4ff9cf16a67a8b261eb1c0acd8eb97fc02d /target-i386
parent15d9ca0f9baa9f10f2b3e3e3d8554a802a3ab0ff (diff)
downloadqemu-a2cce02c48cb9fda5dff3f6a8505380af7d392ff.zip
qemu-a2cce02c48cb9fda5dff3f6a8505380af7d392ff.tar.gz
qemu-a2cce02c48cb9fda5dff3f6a8505380af7d392ff.tar.bz2
Initialize old_exception, by Bernhard Kauer.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3099 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/helper2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-i386/helper2.c b/target-i386/helper2.c
index cbf17ca..8ce5425 100644
--- a/target-i386/helper2.c
+++ b/target-i386/helper2.c
@@ -155,6 +155,8 @@ void cpu_reset(CPUX86State *env)
tlb_flush(env, 1);
+ env->old_exception = -1;
+
/* init to reset state */
#ifdef CONFIG_SOFTMMU