From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23353 invoked by alias); 6 May 2005 16:03:14 -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 23176 invoked from network); 6 May 2005 16:03:05 -0000 Received: from unknown (HELO rproxy.gmail.com) (64.233.170.204) by sourceware.org with SMTP; 6 May 2005 16:03:05 -0000 Received: by rproxy.gmail.com with SMTP id a36so830134rnf for ; Fri, 06 May 2005 09:03:05 -0700 (PDT) Received: by 10.11.118.31 with SMTP id q31mr63324cwc; Fri, 06 May 2005 09:03:05 -0700 (PDT) Received: by 10.11.99.70 with HTTP; Fri, 6 May 2005 09:03:05 -0700 (PDT) Message-ID: <7f45d93905050609033ff95af9@mail.gmail.com> Date: Fri, 06 May 2005 16:03:00 -0000 From: Shaun Jackman Reply-To: Shaun Jackman To: gdb@sources.redhat.com Subject: Re: arm-elf-gdb crash In-Reply-To: <20050506154214.GA5359@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <7f45d9390505052026171614fd@mail.gmail.com> <20050506033126.GA6920@nevyn.them.org> <7f45d9390505052049550222ec@mail.gmail.com> <20050506040840.GB7038@nevyn.them.org> <7f45d93905050608406479775b@mail.gmail.com> <20050506154214.GA5359@nevyn.them.org> X-SW-Source: 2005-05/txt/msg00073.txt.bz2 On 5/6/05, Daniel Jacobowitz wrote: > GDB associates registers to frames. It's written to the assumption > that there is always a frame; when there isn't, this is just one of > many things that is going to go wrong. When the target's gone toes-up like this, normally I don't want to do any further source-level debugging. I'm more interested in peeking and poking a few registers to do some post-mortem analysis before I reload the target. When a frame isn't available, could GDB fall back to a set of global registers? Cheers, Shaun