From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5473 invoked by alias); 22 Apr 2004 03:00:59 -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 5449 invoked from network); 22 Apr 2004 03:00:57 -0000 Received: from unknown (HELO pippin.tausq.org) (64.81.244.94) by sources.redhat.com with SMTP; 22 Apr 2004 03:00:57 -0000 Received: by pippin.tausq.org (Postfix, from userid 1000) id 1F6E4CD299; Wed, 21 Apr 2004 20:01:17 -0700 (PDT) Date: Thu, 22 Apr 2004 03:00:00 -0000 From: Randolph Chung To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [patch] Fix unwind handling for hppa Message-ID: <20040422030116.GO17842@tausq.org> Reply-To: Randolph Chung References: <20040417080536.GB17842@tausq.org> <20040417163525.GA3521@nevyn.them.org> <40855B13.7060706@gnu.org> <20040421151820.GI17842@tausq.org> <4086ED46.2050809@gnu.org> <20040422000655.GL17842@tausq.org> <40871165.4070203@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40871165.4070203@gnu.org> X-GPG: for GPG key, see http://www.tausq.org/gpg.txt User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-04/txt/msg00517.txt.bz2 > In that only call the HP function when the generic one fails. However, > first can you investigate the details? This sort of thing needs to be > commented. one more note about this: skip_prologue_using_sal() sometimes returns a pc that is past the end of a function. after_prologue() in hppa-tdep.c checks for this explicitly and returns 0 in this case so that we can fall back to code reading. this can be observed e.g. with gdb.base/break.exp with the "breakpoint small function, optimized file" test. Is this expected? or is it a bug in skip_prologue_using_sal()? thanks, randolph -- Randolph Chung Debian GNU/Linux Developer, hppa/ia64 ports http://www.tausq.org/