From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14851 invoked by alias); 22 Jul 2004 20:59:24 -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 14843 invoked from network); 22 Jul 2004 20:59:24 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 22 Jul 2004 20:59:24 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1Bnkdy-0001I2-TQ; Thu, 22 Jul 2004 16:58:23 -0400 Date: Thu, 22 Jul 2004 20:59:00 -0000 From: Daniel Jacobowitz To: Mark Kettenis Cc: kevinb@redhat.com, gdb-patches@sources.redhat.com, hunt@redhat.com Subject: Re: [RFA] dwarf2-frame.c sign extension patch Message-ID: <20040722205822.GA4837@nevyn.them.org> Mail-Followup-To: Mark Kettenis , kevinb@redhat.com, gdb-patches@sources.redhat.com, hunt@redhat.com References: <1090350684.3030.10.camel@dragon> <200407212029.i6LKThsR022356@copland.kettenis.dyndns.org> <20040721211723.GA21338@nevyn.them.org> <20040721174136.7eb32412@saguaro> <20040722004621.GA27215@nevyn.them.org> <200407222045.i6MKjk1T003278@elgar.kettenis.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200407222045.i6MKjk1T003278@elgar.kettenis.dyndns.org> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-07/txt/msg00314.txt.bz2 On Thu, Jul 22, 2004 at 10:45:46PM +0200, Mark Kettenis wrote: > Actually, it would make things more symmetric if we'd use TYPE_LENGTH. > Even better, avoid the issue completely by initializing the CIE > encoding to DW_EH_PE_absptr. How about the attached patch? Does it > solve your problems Martin? A-ha! I didn't realize that size_of_encoded_value already did this. I like your solution much better :-) -- Daniel Jacobowitz