From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8116 invoked by alias); 14 May 2008 18:24:48 -0000 Received: (qmail 8107 invoked by uid 22791); 14 May 2008 18:24:47 -0000 X-Spam-Check-By: sourceware.org Received: from mtagate3.de.ibm.com (HELO mtagate3.de.ibm.com) (195.212.29.152) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 14 May 2008 18:24:26 +0000 Received: from d12nrmr1607.megacenter.de.ibm.com (d12nrmr1607.megacenter.de.ibm.com [9.149.167.49]) by mtagate3.de.ibm.com (8.13.8/8.13.8) with ESMTP id m4EIONhF028648 for ; Wed, 14 May 2008 18:24:23 GMT Received: from d12av02.megacenter.de.ibm.com (d12av02.megacenter.de.ibm.com [9.149.165.228]) by d12nrmr1607.megacenter.de.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m4EIOMud3444980 for ; Wed, 14 May 2008 20:24:22 +0200 Received: from d12av02.megacenter.de.ibm.com (loopback [127.0.0.1]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m4EIOMhm025778 for ; Wed, 14 May 2008 20:24:22 +0200 Received: from tuxmaker.boeblingen.de.ibm.com (tuxmaker.boeblingen.de.ibm.com [9.152.85.9]) by d12av02.megacenter.de.ibm.com (8.12.11.20060308/8.12.11) with SMTP id m4EIOMOh025770; Wed, 14 May 2008 20:24:22 +0200 Message-Id: <200805141824.m4EIOMOh025770@d12av02.megacenter.de.ibm.com> Received: by tuxmaker.boeblingen.de.ibm.com (sSMTP sendmail emulation); Wed, 14 May 2008 20:24:22 +0200 Subject: Re: [rfc] Remove "function descriptor" handling on ppc32 To: bauerman@br.ibm.com (Thiago Jung Bauermann) Date: Wed, 14 May 2008 21:27:00 -0000 From: "Ulrich Weigand" Cc: gdb-patches@sourceware.org, drow@false.org In-Reply-To: <1210788963.617.82.camel@localhost.localdomain> from "Thiago Jung Bauermann" at May 14, 2008 03:16:03 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/msg00441.txt.bz2 Thiago Jung Bauermann wrote: > > 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. Ah, I see. That would explain it, and confirm that this code is indeed no longer needed now. > > 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? Correct. We're now always linked against the new bfd, so we'll always see the @plt symbols at their new location. I'll go ahead and install the patch ... Thanks, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE Ulrich.Weigand@de.ibm.com