[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Add single stepping option for all targets
From: |
Stuart Brady |
Subject: |
Re: [Qemu-devel] [PATCH] Add single stepping option for all targets |
Date: |
Mon, 29 Dec 2008 14:40:04 +0000 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Sat, Dec 20, 2008 at 05:09:21PM +0100, Stefan Weil wrote:
> The patch does not add single step mode for Qemu's user mode emulation.
> Would this be useful, too?
Single stepping in user mode emulation could be quite useful for the
development of any target that doesn't have system emulation yet, so
I imagine that I'll need it at some point for this very reason.
(You didn't actually say, but I would assume that the extra check for
single stepping after the translation of each instruction has a
negligable effect on performance.)
I expect that many of the existing targets are stable enough that single
stepping isn't really needed for those targets per se, but I've found
that single stepping can be very helpful when debugging host support,
and it can generally be quite annoying to have to keep rebuilding with
different #defines uncommented.
Cheers,
--
Stuart Brady