From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21423 invoked by alias); 5 Nov 2004 18:54:00 -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 21374 invoked from network); 5 Nov 2004 18:53:59 -0000 Received: from unknown (HELO walton.sibelius.xs4all.nl) (82.92.89.47) by sourceware.org with SMTP; 5 Nov 2004 18:53:59 -0000 Received: from elgar.sibelius.xs4all.nl (elgar.sibelius.xs4all.nl [192.168.0.2]) by walton.sibelius.xs4all.nl (8.13.0/8.13.0) with ESMTP id iA5Irupv021500; Fri, 5 Nov 2004 19:53:56 +0100 (CET) Received: from elgar.sibelius.xs4all.nl (localhost [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.12.6p3/8.12.6) with ESMTP id iA5IruZ6014440; Fri, 5 Nov 2004 19:53:56 +0100 (CET) (envelope-from kettenis@elgar.sibelius.xs4all.nl) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.12.6p3/8.12.6/Submit) id iA5IrpfP014435; Fri, 5 Nov 2004 19:53:51 +0100 (CET) Date: Fri, 05 Nov 2004 18:54:00 -0000 Message-Id: <200411051853.iA5IrpfP014435@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: cagney@gnu.org CC: gdb-patches@sources.redhat.com In-reply-to: <418BB19C.7000100@gnu.org> (message from Andrew Cagney on Fri, 05 Nov 2004 12:00:12 -0500) Subject: Re: [COMMIT] Fix decoding CIE's in DWARF frame info References: <200411051543.iA5Fh1nK020633@juw15.nfra.nl> <418BB19C.7000100@gnu.org> X-SW-Source: 2004-11/txt/msg00084.txt.bz2 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 :-(. The problem fixed by the patch is different: because we failed to do proper alignment gdb was essentially interpreting garbage. Now if that garbage accidentally matched DW_EH_PE_indirect, it could lead to the error message you're seeing. Anyway, I noticed the problem when writing some code at work. Unfortunately I don't know how to convert it into a test case. Cheers, Mark