qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Weil <weil@mail.berlios.de>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Single stepping command line option? (was: [5910] target-ppc: convert SPR accesses to TCG)
Date: Sun, 07 Dec 2008 17:43:44 +0100	[thread overview]
Message-ID: <493BFD40.3000706@mail.berlios.de> (raw)
In-Reply-To: <20081207162420.GZ4440@hall.aurel32.net>

Aurelien Jarno schrieb:
> On Sun, Dec 07, 2008 at 06:13:45PM +0200, Blue Swirl wrote:
>> On 12/7/08, Aurelien Jarno <aurelien@aurel32.net> wrote
>>> --- trunk/target-ppc/translate.c 2008-12-07 13:40:15 UTC (rev 5909)
>>> +++ trunk/target-ppc/translate.c 2008-12-07 13:40:29 UTC (rev 5910)
>>> @@ -38,7 +38,7 @@
>>> #define GDBSTUB_SINGLE_STEP 0x4
>>>
>>> /* Include definitions for instructions classes and implementations
>>> flags */
>>> -//#define DO_SINGLE_STEP
>>> +#define DO_SINGLE_STEP
>> Now every instruction is single stepped.
>>
>
> Good catch. I have enabled it for debugging purpose, and then forget to
> disable it again. That should be fixed now. Thanks.

What about replacing DO_SINGLE_STEP, MIPS_SINGLE_STEP and SH4_SINGLE_STEP
(are there more of them?) by a command line option (-singlestep)
which allows setting this at run time?

The increase in execution time can be neglected.

Maybe changing single stepping from the Qemu monitor might also be useful.

Regards
Stefan Weil

  reply	other threads:[~2008-12-07 16:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-07 13:40 [Qemu-devel] [5910] target-ppc: convert SPR accesses to TCG Aurelien Jarno
2008-12-07 16:13 ` Blue Swirl
2008-12-07 16:24   ` Aurelien Jarno
2008-12-07 16:43     ` Stefan Weil [this message]
2008-12-07 16:47       ` [Qemu-devel] Single stepping command line option? (was: [5910] target-ppc: convert SPR accesses to TCG) Laurent Desnogues
2008-12-07 17:59         ` 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=493BFD40.3000706@mail.berlios.de \
    --to=weil@mail.berlios.de \
    --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).