]> xenbits.xensource.com Git - qemu-xen-3.3-testing.git/commitdiff
Debugger single step without interrupts (Jason Wessel).
authoredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 12 May 2008 07:44:23 +0000 (07:44 +0000)
committeredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 12 May 2008 07:44:23 +0000 (07:44 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4432 c046a42c-6fe2-441c-8c8c-71466251a162

vl.c

diff --git a/vl.c b/vl.c
index 86761ef3d9735647352ec0ecb7a78f3b6e700278..d8e9ef8c6b3238ac88454d890dcfdc15af72cb5d 100644 (file)
--- 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));