From 34808ac170cdeae8f0735470f086153a27e3ee2d Mon Sep 17 00:00:00 2001 From: edgar_igl Date: Mon, 12 May 2008 07:44:23 +0000 Subject: [PATCH] Debugger single step without interrupts (Jason Wessel). git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4432 c046a42c-6fe2-441c-8c8c-71466251a162 --- vl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vl.c b/vl.c index 86761ef..d8e9ef8 100644 --- a/vl.c +++ b/vl.c @@ -7032,6 +7032,7 @@ void main_loop_wait(int timeout) qemu_aio_poll(); if (vm_running) { + if (!(cur_cpu->singlestep_enabled & SSTEP_NOTIMER)) qemu_run_timers(&active_timers[QEMU_TIMER_VIRTUAL], qemu_get_clock(vm_clock)); /* run dma transfers, if any */ @@ -7039,6 +7040,7 @@ void main_loop_wait(int timeout) } /* real time timers */ + if (!(cur_cpu->singlestep_enabled & SSTEP_NOTIMER)) qemu_run_timers(&active_timers[QEMU_TIMER_REALTIME], qemu_get_clock(rt_clock)); -- 2.7.4