From: edgar_igl Date: Mon, 12 May 2008 07:44:23 +0000 (+0000) Subject: Debugger single step without interrupts (Jason Wessel). X-Git-Tag: xen-3.3.0-rc1~194^2^2~20 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=34808ac170cdeae8f0735470f086153a27e3ee2d;p=qemu-xen-3.4-testing.git Debugger single step without interrupts (Jason Wessel). git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4432 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/vl.c b/vl.c index 86761ef3..d8e9ef8c 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));