From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29263 invoked by alias); 9 Jun 2005 21:16:21 -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 29140 invoked by uid 22791); 9 Jun 2005 21:16:07 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 09 Jun 2005 21:16:07 +0000 Received: from drow by nevyn.them.org with local (Exim 4.50) id 1DgUNh-00043Q-AP; Thu, 09 Jun 2005 17:16:05 -0400 Date: Thu, 09 Jun 2005 21:16:00 -0000 From: Daniel Jacobowitz To: Shaun Jackman Cc: gdb@sources.redhat.com Subject: Re: ARM register pages Message-ID: <20050609211605.GA15553@nevyn.them.org> Mail-Followup-To: Shaun Jackman , gdb@sources.redhat.com References: <7f45d93905060815004a8a9b2d@mail.gmail.com> <20050608225835.GA16214@nevyn.them.org> <7f45d93905060909461870392b@mail.gmail.com> <20050609170353.GA8119@nevyn.them.org> <7f45d93905060914144001b82b@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7f45d93905060914144001b82b@mail.gmail.com> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-06/txt/msg00087.txt.bz2 On Thu, Jun 09, 2005 at 02:14:11PM -0700, Shaun Jackman wrote: > On 6/9/05, Daniel Jacobowitz wrote: > > The easiest solution will be to do this instead: > > abt: [copy the banked address to lr, which is not useful at this > > point] > > 1: b 1b > > If it's possible, I'd prefer to accomplish a backtrace without > altering the target's code. I was hoping that "set $cpsr=0x1f" would > make $lr_usr visible in $lr to gdb, but the value of $lr displayed by > "i reg" remains the same. Does gdb cache the value of the register? Is > there a way to force gdb to reload the value of the register from the > remote target? No, it does not cache it. You will need to use the "set debug" commands to work out for yourself what your target is doing; "set debug remote" is a good one, and the remote protocol is described in the manual if you aren't familiar with it. -- Daniel Jacobowitz CodeSourcery, LLC