This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc] Remove "function descriptor" handling on ppc32


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]