diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-02-03 23:35:10 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2004-02-03 23:35:10 +0000 |
commit | ee8b7021da823e11e3c6ea9063ebb2ab50406a3e (patch) | |
tree | 91b71a0497d72e147a40d26dbed74c9b7d2347ad /cpu-exec.c | |
parent | 625976dac8a2233233c7a5943d2b970ac29ef8ad (diff) |
temporary interrupt locking fix (need rework)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@598 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-exec.c')
-rw-r--r-- | cpu-exec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpu-exec.c b/cpu-exec.c index bd0cbb35e7..4e2d77f3a8 100644 --- a/cpu-exec.c +++ b/cpu-exec.c @@ -142,6 +142,7 @@ int cpu_exec(CPUState *env1) /* prepare setjmp context for exception handling */ for(;;) { if (setjmp(env->jmp_env) == 0) { + env->current_tb = NULL; /* if an exception is pending, we execute it here */ if (env->exception_index >= 0) { if (env->exception_index >= EXCP_INTERRUPT) { |