qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [4432] Debugger single step without interrupts (Jason W


From: Fabrice Bellard
Subject: Re: [Qemu-devel] [4432] Debugger single step without interrupts (Jason Wessel).
Date: Mon, 12 May 2008 12:08:37 +0200
User-agent: Thunderbird 1.5.0.9 (X11/20070212)

I see no reason why the real time timers should be stopped while single
stepping. These timers have no relation with the emulation.

BTW, it seems that some devices incorrectly use the real time timers...

Regards,

Fabrice.

Edgar E. Iglesias wrote:
> Revision: 4432
>           http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4432
> Author:   edgar_igl
> Date:     2008-05-12 07:44:23 +0000 (Mon, 12 May 2008)
> 
> Log Message:
> -----------
> Debugger single step without interrupts (Jason Wessel).
> 
> Modified Paths:
> --------------
>     trunk/vl.c
> 
> Modified: trunk/vl.c
> ===================================================================
> --- trunk/vl.c        2008-05-11 19:24:10 UTC (rev 4431)
> +++ trunk/vl.c        2008-05-12 07:44:23 UTC (rev 4432)
> @@ -7032,6 +7032,7 @@
>      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 @@
>      }
>  
>      /* real time timers */
> +    if (!(cur_cpu->singlestep_enabled & SSTEP_NOTIMER))
>      qemu_run_timers(&active_timers[QEMU_TIMER_REALTIME],
>                      qemu_get_clock(rt_clock));
>  
> 
> 
> 
> 
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]