From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3101 invoked by alias); 8 Jul 2008 22:33:33 -0000 Received: (qmail 3092 invoked by uid 22791); 8 Jul 2008 22:33:32 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 08 Jul 2008 22:33:06 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id EB5CD98415; Tue, 8 Jul 2008 22:33:03 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id D62F79810F; Tue, 8 Jul 2008 22:33:03 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1KGLk7-0000ZJ-6G; Tue, 08 Jul 2008 18:33:03 -0400 Date: Tue, 08 Jul 2008 22:33:00 -0000 From: Daniel Jacobowitz To: Dmitry Smirnov Cc: gdb@sourceware.org Subject: Re: ARM: where are special registers? Message-ID: <20080708223303.GA1818@caradoc.them.org> Mail-Followup-To: Dmitry Smirnov , gdb@sourceware.org References: <20080708120801.GA28333@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2008-05-11) 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: 2008-07/txt/msg00058.txt.bz2 On Tue, Jul 08, 2008 at 05:38:55PM +0400, Dmitry Smirnov wrote: > I've found in ch.11.1 at http://sourceware.org/gdb/current/onlinedocs/gdbint_11.html#SEC89 : > > A description may come from a user specified file (XML), the remote `qXfer:features:read' packet (also XML), or from any custom to_read_description routine in the target vector. For instance, the remote target supports guessing whether a MIPS target is 32-bit or 64-bit based on the size of the `g' packet. > > > Is there any example of this XML? There are several in the manual, and in the GDB source directory (gdb/features/). > What remote stub shall respond to "qXfer:features:read"? Just this XML content? > Am I right that before GDB asks for "qXfer:features:read", I shall implement "qSupported" handling in a stub with this "qXfer:features:read" as a response? Take a look at the rmeote protocol section of the manual, which is referenced from that chapter; it explains the details. -- Daniel Jacobowitz CodeSourcery