From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5133 invoked by alias); 14 May 2008 18:16:55 -0000 Received: (qmail 5122 invoked by uid 22791); 14 May 2008 18:16:54 -0000 X-Spam-Check-By: sourceware.org Received: from igw2.br.ibm.com (HELO igw2.br.ibm.com) (32.104.18.25) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 14 May 2008 18:16:18 +0000 Received: from mailhub3.br.ibm.com (mailhub3 [9.18.232.110]) by igw2.br.ibm.com (Postfix) with ESMTP id 98D7317F50F for ; Wed, 14 May 2008 15:05:41 -0300 (BRST) Received: from d24av01.br.ibm.com (d24av01.br.ibm.com [9.18.232.46]) by mailhub3.br.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m4EIGGce2179220 for ; Wed, 14 May 2008 15:16:16 -0300 Received: from d24av01.br.ibm.com (loopback [127.0.0.1]) by d24av01.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m4EIG82g015295 for ; Wed, 14 May 2008 15:16:09 -0300 Received: from [9.18.238.95] ([9.18.238.95]) by d24av01.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m4EIG8dp015194; Wed, 14 May 2008 15:16:08 -0300 Subject: Re: [rfc] Remove "function descriptor" handling on ppc32 From: Thiago Jung Bauermann To: Ulrich Weigand Cc: gdb-patches@sourceware.org, drow@false.org In-Reply-To: <200805141731.m4EHVCwS018368@d12av02.megacenter.de.ibm.com> References: <200805141731.m4EHVCwS018368@d12av02.megacenter.de.ibm.com> Content-Type: text/plain Date: Wed, 14 May 2008 19:19:00 -0000 Message-Id: <1210788963.617.82.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.22.1.1 Content-Transfer-Encoding: 7bit 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: 2008-05/txt/msg00440.txt.bz2 On Wed, 2008-05-14 at 19:31 +0200, Ulrich Weigand wrote: > a while back you installed a patch to make ...convert_from_func_ptr_addr > handle "secure PLTs" on ppc32; this was apparently based on earlier > patches by Thiago and Paul: > http://sourceware.org/ml/gdb-patches/2007-07/msg00068.html I vaguely remember that... :-) > The only reason I could imagine where this convert_from_func_ptr_addr > version would ever apply is that the "...@plt" synthetic symbols used > to point to those PLT data entries. I think that was was the problem. GDB wanted to set a breakpoint at _dl_debug_state, but since it pointed to a data section (the plt entry) it just flew by it. > After the patch Alan just committed, > this is no longer the case, however -- @plt symbols now point to the > plt call stubs as well. These are synthetic symbols right, so no backward compatibility issues there? -- []'s Thiago Jung Bauermann Software Engineer IBM Linux Technology Center