From a2cce02c48cb9fda5dff3f6a8505380af7d392ff Mon Sep 17 00:00:00 2001 From: ths Date: Tue, 31 Jul 2007 23:09:18 +0000 Subject: [PATCH] Initialize old_exception, by Bernhard Kauer. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3099 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-i386/helper2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target-i386/helper2.c b/target-i386/helper2.c index cbf17caa11..8ce5425830 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