Commit 34808ac170cdeae8f0735470f086153a27e3ee2d
1 parent
c2bc0e38
Debugger single step without interrupts (Jason Wessel).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4432 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
0 deletions
vl.c
... | ... | @@ -7032,6 +7032,7 @@ void main_loop_wait(int timeout) |
7032 | 7032 | qemu_aio_poll(); |
7033 | 7033 | |
7034 | 7034 | if (vm_running) { |
7035 | + if (!(cur_cpu->singlestep_enabled & SSTEP_NOTIMER)) | |
7035 | 7036 | qemu_run_timers(&active_timers[QEMU_TIMER_VIRTUAL], |
7036 | 7037 | qemu_get_clock(vm_clock)); |
7037 | 7038 | /* run dma transfers, if any */ |
... | ... | @@ -7039,6 +7040,7 @@ void main_loop_wait(int timeout) |
7039 | 7040 | } |
7040 | 7041 | |
7041 | 7042 | /* real time timers */ |
7043 | + if (!(cur_cpu->singlestep_enabled & SSTEP_NOTIMER)) | |
7042 | 7044 | qemu_run_timers(&active_timers[QEMU_TIMER_REALTIME], |
7043 | 7045 | qemu_get_clock(rt_clock)); |
7044 | 7046 | ... | ... |