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: Thiago Jung Bauermann <bauerman at br dot ibm dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org, drow at false dot org
- Date: Wed, 14 May 2008 15:16:03 -0300
- Subject: Re: [rfc] Remove "function descriptor" handling on ppc32
- References: <200805141731.m4EHVCwS018368@d12av02.megacenter.de.ibm.com>
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