aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-12 07:44:23 +0000
committeredgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-12 07:44:23 +0000
commit34808ac170cdeae8f0735470f086153a27e3ee2d (patch)
tree24619725b1887b640266ae147d327ffac3bf13fe
parentc2bc0e388016a8a2a47c35334f1c11c85901bedc (diff)
downloadqemu-34808ac170cdeae8f0735470f086153a27e3ee2d.zip
qemu-34808ac170cdeae8f0735470f086153a27e3ee2d.tar.gz
qemu-34808ac170cdeae8f0735470f086153a27e3ee2d.tar.bz2
Debugger single step without interrupts (Jason Wessel).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4432 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--vl.c2
1 files changed, 2 insertions, 0 deletions
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));