summaryrefslogtreecommitdiff
path: root/cpu-exec.c
diff options
context:
space:
mode:
authoredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-15 19:54:00 +0000
committeredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-15 19:54:00 +0000
commit21b20814ed882114a0d5b658cfdb1fc60c761816 (patch)
tree1fc5df9f35b90cb98d67571adf666981ba79bfc6 /cpu-exec.c
parentcf7c2ca5ff568d4a46674757b8ad545cfb9f6ab4 (diff)
downloadqemu-21b20814ed882114a0d5b658cfdb1fc60c761816.tar.gz
qemu-21b20814ed882114a0d5b658cfdb1fc60c761816.tar.bz2
qemu-21b20814ed882114a0d5b658cfdb1fc60c761816.zip
Always process real timers regardless of singlestep mode (Jason Wessel).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4462 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-exec.c')
-rw-r--r--cpu-exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu-exec.c b/cpu-exec.c
index 435fdf85df..5fd9cad4aa 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -420,7 +420,7 @@ int cpu_exec(CPUState *env1)
#if defined(TARGET_I386)
&& env->hflags & HF_GIF_MASK
#endif
- && !(env->singlestep_enabled & SSTEP_NOIRQ)) {
+ && likely(!(env->singlestep_enabled & SSTEP_NOIRQ))) {
if (interrupt_request & CPU_INTERRUPT_DEBUG) {
env->interrupt_request &= ~CPU_INTERRUPT_DEBUG;
env->exception_index = EXCP_DEBUG;