From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6757 invoked by alias); 5 Nov 2004 19:12:23 -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 6746 invoked from network); 5 Nov 2004 19:12:22 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 5 Nov 2004 19:12:22 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1CQ9VR-0006IK-6g; Fri, 05 Nov 2004 14:12:17 -0500 Date: Fri, 05 Nov 2004 19:12:00 -0000 From: Daniel Jacobowitz To: Mark Kettenis Cc: cagney@gnu.org, gdb-patches@sources.redhat.com Subject: Re: [COMMIT] Fix decoding CIE's in DWARF frame info Message-ID: <20041105191217.GA23973@nevyn.them.org> Mail-Followup-To: Mark Kettenis , cagney@gnu.org, gdb-patches@sources.redhat.com References: <200411051543.iA5Fh1nK020633@juw15.nfra.nl> <418BB19C.7000100@gnu.org> <200411051853.iA5IrpfP014435@elgar.sibelius.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200411051853.iA5IrpfP014435@elgar.sibelius.xs4all.nl> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-11/txt/msg00087.txt.bz2 On Fri, Nov 05, 2004 at 07:53:51PM +0100, Mark Kettenis wrote: > Date: Fri, 05 Nov 2004 12:00:12 -0500 > From: Andrew Cagney > > Mark Kettenis wrote: > > The old code didn't take into account that the encoding used to > > specify the personality routine in the augmentation could be > > DW_PE_EH_aligned. > > > > Fixed by the attach patch. > > > > Committed to mainline. I'll commit this to the branch later today. > > How are you testing this? I'm seeing: > > dwarf2-frame.c:1083: internal-error: Unsupported encoding: DW_EH_PE_indirect > > If your toolchain really generates DW_EH_PE_indirect, it's a different > problem; I don't know how to properly support this :-(. I do know that some GCC toolchains emit DW_EH_PE_indirect - I ran into it yesterday on PowerPC. It's exactly what it says; after applying whatever other encoding (pcrel, etc), dereference the result. Adding this to read_encoded_value should be pretty straightforward. (I encountered it in an SJLJ context rather than .eh_frame, but I think the same GCC macros control both.) -- Daniel Jacobowitz