From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LHJI2-0006Rk-JU for qemu-devel@nongnu.org; Mon, 29 Dec 2008 09:40:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LHJI0-0006Qi-GF for qemu-devel@nongnu.org; Mon, 29 Dec 2008 09:40:17 -0500 Received: from [199.232.76.173] (port=38617 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHJI0-0006QU-0y for qemu-devel@nongnu.org; Mon, 29 Dec 2008 09:40:16 -0500 Received: from mtaout02-winn.ispmail.ntl.com ([81.103.221.48]:62549) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LHJHz-0003dF-6f for qemu-devel@nongnu.org; Mon, 29 Dec 2008 09:40:15 -0500 Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20081229144007.MCFK4080.mtaout02-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Mon, 29 Dec 2008 14:40:07 +0000 Received: from miranda.arrow ([213.107.23.205]) by aamtaout03-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20081229144007.LGOZ2093.aamtaout03-winn.ispmail.ntl.com@miranda.arrow> for ; Mon, 29 Dec 2008 14:40:07 +0000 Received: from sdb by miranda.arrow with local (Exim 4.63) (envelope-from ) id 1LHJHo-0003JR-IY for qemu-devel@nongnu.org; Mon, 29 Dec 2008 14:40:04 +0000 Date: Mon, 29 Dec 2008 14:40:04 +0000 From: Stuart Brady Subject: Re: [Qemu-devel] [PATCH] Add single stepping option for all targets Message-ID: <20081229144004.GA12510@miranda.arrow> References: <494D18B1.8080900@mail.berlios.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <494D18B1.8080900@mail.berlios.de> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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