From: Laurent Desnogues <laurent.desnogues@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Add single stepping option for all targets
Date: Sun, 1 Feb 2009 23:24:08 +0100 [thread overview]
Message-ID: <761ea48b0902011424s6bebea3dj7cc7e6c106b6adca@mail.gmail.com> (raw)
In-Reply-To: <4985FD31.4010000@mail.berlios.de>
On Sun, Feb 1, 2009 at 8:51 PM, Stefan Weil <weil@mail.berlios.de> 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
next prev parent reply other threads:[~2009-02-01 22:24 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-20 16:09 [Qemu-devel] [PATCH] Add single stepping option for all targets Stefan Weil
2008-12-29 12:34 ` Stefan Weil
2008-12-29 14:40 ` Stuart Brady
2009-02-01 19:51 ` Stefan Weil
2009-02-01 22:24 ` Laurent Desnogues [this message]
2009-02-04 12:50 ` Stefan Weil
2009-02-28 16:27 ` Stefan Weil
2009-03-01 20:52 ` Aurelien Jarno
2009-03-03 6:38 ` Aurelien Jarno
2009-03-13 16:35 ` Stefan Weil
2009-03-13 16:54 ` Laurent Desnogues
2009-03-13 17:21 ` [Qemu-devel] " Jan Kiszka
2009-03-20 15:42 ` [Qemu-devel] " Stefan Weil
2009-03-28 22:12 ` Aurelien Jarno
2009-03-30 10:18 ` Stefan Weil
2009-04-05 20:09 ` Aurelien Jarno
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=761ea48b0902011424s6bebea3dj7cc7e6c106b6adca@mail.gmail.com \
--to=laurent.desnogues@gmail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).