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


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


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