From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LHHK0-0000r6-SM for qemu-devel@nongnu.org; Mon, 29 Dec 2008 07:34:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LHHJz-0000qV-9b for qemu-devel@nongnu.org; Mon, 29 Dec 2008 07:34:12 -0500 Received: from [199.232.76.173] (port=42503 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHHJz-0000qN-4z for qemu-devel@nongnu.org; Mon, 29 Dec 2008 07:34:11 -0500 Received: from mout-bounce.kundenserver.de ([212.227.17.2]:65151) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LHHJy-0007xU-KB for qemu-devel@nongnu.org; Mon, 29 Dec 2008 07:34:10 -0500 Received: from localhost ([127.0.0.1] ident=stefan) by flocke.weilnetz.de with esmtp (Exim 4.69) (envelope-from ) id 1LHHJq-0001VS-Oe for qemu-devel@nongnu.org; Mon, 29 Dec 2008 13:34:04 +0100 Message-ID: <4958C3B9.3060601@mail.berlios.de> Date: Mon, 29 Dec 2008 13:34:01 +0100 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] Add single stepping option for all targets References: <494D18B1.8080900@mail.berlios.de> In-Reply-To: <494D18B1.8080900@mail.berlios.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers 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 > > Are there no comments?