From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26947 invoked by alias); 26 Nov 2007 19:21:53 -0000 Received: (qmail 26939 invoked by uid 22791); 26 Nov 2007 19:21:52 -0000 X-Spam-Check-By: sourceware.org Received: from zigzag.lvk.cs.msu.su (HELO zigzag.lvk.cs.msu.su) (158.250.17.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 26 Nov 2007 19:21:48 +0000 Received: from Debian-exim by zigzag.lvk.cs.msu.su with spam-scanned (Exim 4.50) id 1IwjWV-0006hQ-Sk for gdb@sources.redhat.com; Mon, 26 Nov 2007 22:21:45 +0300 Received: from localhost ([127.0.0.1] helo=ip6-localhost) by zigzag.lvk.cs.msu.su with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1IwjWL-0006hC-3E; Mon, 26 Nov 2007 22:21:29 +0300 From: Vladimir Prus To: Michael Snyder Subject: Re: GDB commands Date: Mon, 26 Nov 2007 19:21:00 -0000 User-Agent: KMail/1.9.6 Cc: gdb@sources.redhat.com References: <4742E4CF.2080408@geensys.com> <1196103154.2501.32.camel@localhost.localdomain> In-Reply-To: <1196103154.2501.32.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200711262221.26312.ghost@cs.msu.su> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-11/txt/msg00233.txt.bz2 On Monday 26 November 2007 21:52:34 Michael Snyder wrote: > On Fri, 2007-11-23 at 14:05 +0300, Vladimir Prus wrote: > > Guillaume MENANT wrote: > > > > > > > > Can't we know which command is mandatory ? I'm assuming that m, M, c, s, > > > g, and G are mandatory but i'm not sure. > > > > I doubt a complete list is available. Off the top of my head, you need > > vCont (and don't need c and s). > > I don't see how that is true -- you can still control a target > using c and s rather than using vCont... If the target is multi-threaded, vCont is much better idea. And given that implementing vCont is about as much work as c/s/Hc, it's probably better to just implement vCont even for single-threaded target. > > You also need zN/ZN -- without breakpoints, > > debugging is of no interest. > > Neither is this true -- breakpoints can be set the old fashioned > way using memory read/write and trap instructions. Yes, you're right. - Volodya