From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JvXUj-0002oQ-0q for qemu-devel@nongnu.org; Mon, 12 May 2008 08:51:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JvXUh-0002nd-57 for qemu-devel@nongnu.org; Mon, 12 May 2008 08:51:08 -0400 Received: from [199.232.76.173] (port=44099 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JvXUg-0002nB-Vt for qemu-devel@nongnu.org; Mon, 12 May 2008 08:51:07 -0400 Received: from mail.windriver.com ([147.11.1.11]:51211 helo=mail.wrs.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JvXUe-0006YX-SJ for qemu-devel@nongnu.org; Mon, 12 May 2008 08:51:05 -0400 Message-ID: <48283D34.8080508@windriver.com> Date: Mon, 12 May 2008 07:51:00 -0500 From: Jason Wessel MIME-Version: 1.0 Subject: Re: [Qemu-devel] Debugging vmlinux with qemu and gdb. Unable to step, next, print or to get any information.. References: <824D057211107844BA95DB341B4BF12E01139BF2@hanvsmail04.eu.thmulti.com> <4823D56F.1010600@windriver.com> <20080509144029.GA32414@caradoc.them.org> <20080512094103.GA31632@edgar.se.axis.com> In-Reply-To: <20080512094103.GA31632@edgar.se.axis.com> Content-Type: text/plain; charset=ISO-8859-1 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: "Edgar E. Iglesias" Cc: qemu-devel@nongnu.org Edgar E. Iglesias wrote: > On Fri, May 09, 2008 at 10:40:29AM -0400, Daniel Jacobowitz wrote: > >> On Thu, May 08, 2008 at 11:39:11PM -0500, Jason Wessel wrote: >> >>> +@item maintenance packet qqemu.sstepbits >>> >> Are these packets in wide use yet? If not, I'd really recommend you >> use qRcmd instead; then the GDB command is just "monitor", e.g. >> "monitor show sstepbits". maint packet isn't really intended for >> users. >> > > Thanks for the comments Daniel. > > This patch tries to change the syntax into this: > % monitor sstepbits > % monitor sstep > % monitor sstep=0x05 > > Or would a show/set interface be prefered for some reason (e.g, monitor show sstepbits, monitor show sstep, monitor set sstep 0x5)? > > Best regards, > The patch itself looks ok, but if you can hold off committing it, I'll provide you with a two patch series in the next day or so which has even more functionality. I implemented gdb monitor commands as well as "qemu pass through monitor" commands where you can using the gdb monitor command to send commands and receive input from the qemu monitor as well. Thanks, Jason.