Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ldse3-0006JI-FO for qemu-devel@nongnu.org; Sun, 01 Mar 2009 15:52:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ldse2-0006Ip-Lr for qemu-devel@nongnu.org; Sun, 01 Mar 2009 15:52:19 -0500 Received: from [199.232.76.173] (port=40786 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ldse2-0006Ia-3J for qemu-devel@nongnu.org; Sun, 01 Mar 2009 15:52:18 -0500 Received: from hall.aurel32.net ([88.191.82.174]:50743) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ldse1-0001t7-In for qemu-devel@nongnu.org; Sun, 01 Mar 2009 15:52:17 -0500 Date: Sun, 1 Mar 2009 21:52:16 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH] Add single stepping option for all targets Message-ID: <20090301205216.GT32440@hall.aurel32.net> References: <494D18B1.8080900@mail.berlios.de> <4985FD31.4010000@mail.berlios.de> <49A965ED.6000402@mail.berlios.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <49A965ED.6000402@mail.berlios.de> Sender: Aurelien Jarno Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: qemu-devel@nongnu.org On Sat, Feb 28, 2009 at 05:27:25PM +0100, Stefan Weil 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 > >> > >> > >> > > The patch is still missing in Qemu trunk. There was some feedback, > but not from a maintainer, so I don't know why the patch is not > integrated. Do you need an update of the patch? Do you need > more information? Do you want something changed or added? > Sorry, I didn't found time to look at it. But someone else can probably commit it. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net