From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15731 invoked by alias); 2 Mar 2006 15:15:31 -0000 Received: (qmail 15714 invoked by uid 22791); 2 Mar 2006 15:15:29 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 02 Mar 2006 15:15:28 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FEpWY-0001pl-43; Thu, 02 Mar 2006 10:15:26 -0500 Date: Thu, 02 Mar 2006 15:15:00 -0000 From: Daniel Jacobowitz To: Randolph Chung Cc: gdb@sources.redhat.com Subject: Re: interesting unwind problem with noreturn functions Message-ID: <20060302151526.GA7033@nevyn.them.org> Mail-Followup-To: Randolph Chung , gdb@sources.redhat.com References: <44070B97.2050707@tausq.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44070B97.2050707@tausq.org> User-Agent: Mutt/1.5.8i X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-03/txt/msg00018.txt.bz2 On Thu, Mar 02, 2006 at 11:13:27PM +0800, Randolph Chung wrote: > So when you unwind from error(), the hppa frame unwinder tries to unwind > from rp=b848c, which is in a different function from the actual caller, > and the unwinder gets all confused.... > > I suppose this is not a hppa specific thing, other architectures might > also encounter the same problem. How is it fixed there? Should the > unwinder be storing the PC as RP-offset? (This seems rather ugly, if not > wrong.) Please take a look at frame_unwind_address_in_block. -- Daniel Jacobowitz CodeSourcery