]> git.proxmox.com Git - qemu.git/commitdiff
Initialize old_exception, by Bernhard Kauer.
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 31 Jul 2007 23:09:18 +0000 (23:09 +0000)
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 31 Jul 2007 23:09:18 +0000 (23:09 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3099 c046a42c-6fe2-441c-8c8c-71466251a162

target-i386/helper2.c

index cbf17caa11479d8250dce14b3a5f654c9ac3fd1e..8ce5425830732a6d7ffc0015930d7fe258383d4d 100644 (file)
@@ -155,6 +155,8 @@ void cpu_reset(CPUX86State *env)
 
     tlb_flush(env, 1);
 
+    env->old_exception = -1;
+
     /* init to reset state */
 
 #ifdef CONFIG_SOFTMMU