qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Weil <weil@mail.berlios.de>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] Add single stepping option for all targets
Date: Wed, 04 Feb 2009 13:50:15 +0100	[thread overview]
Message-ID: <49898F07.3070203@mail.berlios.de> (raw)
In-Reply-To: <761ea48b0902011424s6bebea3dj7cc7e6c106b6adca@mail.gmail.com>

Laurent Desnogues schrieb:
> I have two comments:
>    - as Stuart previously wrote, user mode would be useful to
>      have
>   

Right. A quick-and-dirty solution to set the flag for user mode is very
simple
but also dirty: Today, bsd-user, darwin-user and linux-user would need the
same kind of patch in main.c. There is already too much code duplication
(or triplication) in these three directories, so a common code basis for all
user modes would help. I suggest to take the current patch first, then clean
the user mode code in a second step, then add single stepping for
user mode in a third step.

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

The current implementation replaces conditional compilations
for several system emulations and adds the same feature to those
system emulations which did not have a conditional compilation.

I (and other users, especially those who added the conditional
compilation) use this feature, so it is really useful.

Maybe it can be improved the way you suggested. Do you have code
for this?

>
> Laurent
>
>
>
>   

Regards
Stefan

  reply	other threads:[~2009-02-04 12:50 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
2009-02-04 12:50     ` Stefan Weil [this message]
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=49898F07.3070203@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).