qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Add single stepping option for all targets


From: Laurent Desnogues
Subject: Re: [Qemu-devel] [PATCH] Add single stepping option for all targets
Date: Sun, 1 Feb 2009 23:24:08 +0100

On Sun, Feb 1, 2009 at 8:51 PM, Stefan Weil <address@hidden> wrote:
> Stefan Weil schrieb:
>> This patch replaces the compile time options SH4_SINGLE_STEP,
>> DO_SINGLE_STEP and MIPS_SINGLE_STEP
>> by a command line option -singlestep.
>>
>> It also adds single step mode for targets which did not have a compile
>> time option,
>> so all system emulations can be used with -singlestep. Please note that
>> I did only run a short test for i386 and mips targets.
>>
>> A new monitor command is provided to enable or disable single step mode.
>> The monitor command "info status" was modified to display single step
>> mode when activated.
>>
>> Single stepping in Qemu's system emulation mode is useful to see the cpu
>> state
>> for each cpu instruction when used with -d in_asm,cpu. It is also a
>> simple way to slow down the emulation.
>>
>> The patch does not add single step mode for Qemu's user mode emulation.
>> Would this be useful, too?
>>
>> Kind regards
>> Stefan Weil
>>
>>
>
> Hello,
>
> here is an update of the patch. Please apply it to Qemu trunk.

I have two comments:

   - as Stuart previously wrote, user mode would be useful to
     have

   - shouldn't you also prevent block chaining from being done
     for this feature to be really useful?


Laurent




reply via email to

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