Commit a2cce02c48cb9fda5dff3f6a8505380af7d392ff

Authored by ths
1 parent 15d9ca0f

Initialize old_exception, by Bernhard Kauer.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3099 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 0 deletions
target-i386/helper2.c
... ... @@ -155,6 +155,8 @@ void cpu_reset(CPUX86State *env)
155 155  
156 156 tlb_flush(env, 1);
157 157  
  158 + env->old_exception = -1;
  159 +
158 160 /* init to reset state */
159 161  
160 162 #ifdef CONFIG_SOFTMMU
... ...