From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9337 invoked by alias); 13 Mar 2006 02:25:55 -0000 Received: (qmail 9328 invoked by uid 22791); 13 Mar 2006 02:25:54 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 13 Mar 2006 02:25:52 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k2D2PoXD026477 for ; Sun, 12 Mar 2006 21:25:50 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id k2D2Pj126468; Sun, 12 Mar 2006 21:25:45 -0500 Received: from free.oliva.athome.lsd.ic.unicamp.br (vpn50-84.rdu.redhat.com [172.16.50.84]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id k2D2PiTq017777; Sun, 12 Mar 2006 21:25:44 -0500 Received: from free.oliva.athome.lsd.ic.unicamp.br (free.oliva.athome.lsd.ic.unicamp.br [127.0.0.1]) by free.oliva.athome.lsd.ic.unicamp.br (8.13.5/8.13.5) with ESMTP id k2D2Pg2x012703; Sun, 12 Mar 2006 23:25:42 -0300 Received: (from aoliva@localhost) by free.oliva.athome.lsd.ic.unicamp.br (8.13.5/8.13.5/Submit) id k2D2PfpI012702; Sun, 12 Mar 2006 23:25:41 -0300 To: Mark Kettenis Cc: gdb-patches@sources.redhat.com, roland@redhat.com Subject: Re: Support Dwarf3 DW_CFA_val_* expressions References: <200603041017.k24AHjh7024812@elgar.sibelius.xs4all.nl> <20060304145755.GB20187@nevyn.them.org> <200603070838.k278cSMx005401@elgar.sibelius.xs4all.nl> <20060311190811.GA26990@nevyn.them.org> From: Alexandre Oliva Date: Mon, 13 Mar 2006 06:23:00 -0000 In-Reply-To: <20060311190811.GA26990@nevyn.them.org> (Daniel Jacobowitz's message of "Sat, 11 Mar 2006 14:08:11 -0500") Message-ID: User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4.18 (linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-03/txt/msg00175.txt.bz2 On Mar 11, 2006, Daniel Jacobowitz wrote: > On Tue, Mar 07, 2006 at 02:46:00PM -0300, Alexandre Oliva wrote: >> Using the address of the first instruction in the region wouldn't work >> either. The hand-generated unwind info arranges for _L_mutex_lock_31 >> on i386 to seem like it calls itself, for some reason I don't quite >> understand. Jakub says the backtrace we get after my change is >> correct, whereas *without* the patch we get this: > Where does this hand generated unwind info come from? Jakub's testcase submitted as part of the patch. -- Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/ Secretary for FSF Latin America http://www.fsfla.org/ Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org} Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}