From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1647 invoked by alias); 8 Jul 2008 13:39:31 -0000 Received: (qmail 1628 invoked by uid 22791); 8 Jul 2008 13:39:27 -0000 X-Spam-Check-By: sourceware.org Received: from f127.mail.ru (HELO f127.mail.ru) (194.67.57.236) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 08 Jul 2008 13:39:01 +0000 Received: from mail by f127.mail.ru with local id 1KGDPD-0001fs-00 for gdb@sourceware.org; Tue, 08 Jul 2008 17:38:55 +0400 Received: from [212.92.145.7] by win.mail.ru with HTTP; Tue, 08 Jul 2008 17:38:55 +0400 From: Dmitry Smirnov To: gdb@sourceware.org Subject: =?koi8-r?Q?Re=3A_ARM=3A_where_are_special_registers=3F?= Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 Date: Tue, 08 Jul 2008 13:39:00 -0000 References: <20080708120801.GA28333@caradoc.them.org> In-Reply-To: <20080708120801.GA28333@caradoc.them.org> Reply-To: Dmitry Smirnov Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: X-Spam: Not detected X-Mras: OK 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/msg00057.txt.bz2 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? 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? -----Original Message----- From: Daniel Jacobowitz To: Dmitry Smirnov Date: Tue, 8 Jul 2008 08:08:01 -0400 Subject: Re: ARM: where are special registers? > > On Tue, Jul 08, 2008 at 01:07:51PM +0400, Dmitry Smirnov wrote: > > Hi, > > > > As you know, ARM processor have some special registers like CPSR, SPSR_svc, r8_usr, etc. > > While running GDB I cannot see these registers (CPSR only). > > My GDB is connected to remote ARM simulator, so maybe the simulator is the problem area? > > Please see the manual chapter on Target Descriptions - that describes > how to report additional registers. > > -- > Daniel Jacobowitz > CodeSourcery >