From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16168 invoked by alias); 23 Jan 2004 00:45:02 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 16158 invoked from network); 23 Jan 2004 00:45:02 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sources.redhat.com with SMTP; 23 Jan 2004 00:45:02 -0000 Received: from drow by nevyn.them.org with local (Exim 4.30 #1 (Debian)) id 1AjpRV-0005Ud-Pb for ; Thu, 22 Jan 2004 19:45:01 -0500 Date: Fri, 23 Jan 2004 00:45:00 -0000 From: Daniel Jacobowitz To: gdb@sources.redhat.com Subject: Re: minimal stub? (GDB Remote Serial Protocol) Message-ID: <20040123004501.GB21031@nevyn.them.org> Mail-Followup-To: gdb@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2004-01/txt/msg00263.txt.bz2 On Fri, Jan 23, 2004 at 12:16:48AM +0100, Németh Márton wrote: > Hi! > > I would like to implement a minimal stub which can communicatig with > arm-elf-gdb 6.0. The documentation > ( http://sources.redhat.com/gdb/current/onlinedocs/gdb_33.html ) says, > that: > > | For any command not supported by the stub, an empty response (`$#00') > | should be returned. That way it is possible to extend the protocol. A > | newer GDB can tell if a packet is supported based on that response. > | > | A stub is required to support the `g', `G', `m', `M', `c', and `s' > | commands. All other commands are optional. > Have I misunderstand the documentation or it is out of date? It is out of date. > Where can I have up to date informations? (e.g. which file in the > gdb source tree) Nowhere; you'll just have to experiment. If you would like to report a minimal set I'll update the documentation. You'll need to start with '?' definitely. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer