From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7790 invoked by alias); 26 Nov 2007 19:04:56 -0000 Received: (qmail 7779 invoked by uid 22791); 26 Nov 2007 19:04:53 -0000 X-Spam-Check-By: sourceware.org Received: from bluesmobile.specifix.com (HELO bluesmobile.specifix.com) (216.129.118.140) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 26 Nov 2007 19:04:49 +0000 Received: from [127.0.0.1] (bluesmobile.specifix.com [216.129.118.140]) by bluesmobile.specifix.com (Postfix) with ESMTP id 4C0EA3C124; Mon, 26 Nov 2007 10:43:12 -0800 (PST) Subject: Re: GDB commands From: Michael Snyder To: Vladimir Prus Cc: gdb@sources.redhat.com In-Reply-To: References: <4742E4CF.2080408@geensys.com> <13909280.post@talk.nabble.com> Content-Type: text/plain Date: Mon, 26 Nov 2007 19:04:00 -0000 Message-Id: <1196103154.2501.32.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-4.fc7) Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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/msg00228.txt.bz2 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... > 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.