This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Remove "function descriptor" handling on ppc32
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: bauerman at br dot ibm dot com (Thiago Jung Bauermann)
- Cc: gdb-patches at sourceware dot org, drow at false dot org
- Date: Wed, 14 May 2008 20:24:22 +0200 (CEST)
- Subject: Re: [rfc] Remove "function descriptor" handling on ppc32
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