From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7579 invoked by alias); 13 Jun 2011 16:14:21 -0000 Received: (qmail 7565 invoked by uid 22791); 13 Jun 2011 16:14:19 -0000 X-SWARE-Spam-Status: No, hits=-6.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 13 Jun 2011 16:14:05 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p5DGE443025677 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 13 Jun 2011 12:14:04 -0400 Received: from host1.jankratochvil.net (ovpn-113-23.phx2.redhat.com [10.3.113.23]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p5DGE2IT023012 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 13 Jun 2011 12:14:04 -0400 Received: from host1.jankratochvil.net (localhost [127.0.0.1]) by host1.jankratochvil.net (8.14.4/8.14.4) with ESMTP id p5DGE2tZ030642; Mon, 13 Jun 2011 18:14:02 +0200 Received: (from jkratoch@localhost) by host1.jankratochvil.net (8.14.4/8.14.4/Submit) id p5DGE2Vf030641; Mon, 13 Jun 2011 18:14:02 +0200 Date: Mon, 13 Jun 2011 16:14:00 -0000 From: Jan Kratochvil To: Mark Kettenis Cc: gdb-patches@sourceware.org Subject: Re: [RFC] i386 PLT stub unwinder Message-ID: <20110613161402.GB18588@host1.jankratochvil.net> References: <201106131555.p5DFtucc019690@glazunov.sibelius.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201106131555.p5DFtucc019690@glazunov.sibelius.xs4all.nl> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-06/txt/msg00166.txt.bz2 On Mon, 13 Jun 2011 17:55:56 +0200, Mark Kettenis wrote: > Jan's mail about DWARF CFI for PLT stubs prompted me to write an > undinder for the PLT stubs as defined by the i386 ABI. With this > change I can step through the PLT stubs and always have a proper > backtrace. I do not think GDB is the right place to fix it, it should be fixed by proper .eh_Frame as this problem affects all the tools trying to unwind such as also oprofile, systemtap etc. Thanks, Jan