From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10329 invoked by alias); 11 Nov 2004 23:33:03 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 10218 invoked from network); 11 Nov 2004 23:32:59 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 11 Nov 2004 23:32:59 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1CSOQr-0000dk-13; Thu, 11 Nov 2004 18:32:49 -0500 Date: Thu, 11 Nov 2004 23:33:00 -0000 From: Daniel Jacobowitz To: Randolph Chung Cc: gdb-patches@sources.redhat.com Subject: Re: dwarf2 and frame bases Message-ID: <20041111233249.GA2305@nevyn.them.org> Mail-Followup-To: Randolph Chung , gdb-patches@sources.redhat.com References: <20041110235149.GO15714@tausq.org> <20041110235649.GA741@nevyn.them.org> <20041111000933.GP15714@tausq.org> <20041111030938.GA4784@nevyn.them.org> <20041111164852.GS15714@tausq.org> <20041111171232.GA10326@nevyn.them.org> <20041111211740.GW15714@tausq.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041111211740.GW15714@tausq.org> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-11/txt/msg00255.txt.bz2 On Thu, Nov 11, 2004 at 01:17:40PM -0800, Randolph Chung wrote: > > Suppose we're in frame A, called from frame B. We're at the first > > instruction. If we ask the sentinel frame to unwind the value of r3, > > we'll get its real register value - regardless of where we are in the > > sequence. If we ask frame A to unwind r3, we want to get frame B's r3. > > Where frame A is in its prologue has no effect on what frame B's r3 was > > at the time of calling A. > > ok ok, how about this fix? all the recurse.exp tests pass now. > > thanks, > randolph > > 2004-11-11 Randolph Chung > > * hppa-tdep.c (hppa_frame_cache): Properly handle the frame pointer > register so that it can be unwound from anywhere in the prologue. Bingo! This patch is OK. -- Daniel Jacobowitz