[rfc] Remove "function descriptor" handling on ppc32

Ulrich Weigand uweigand@de.ibm.com
Wed May 14 23:02:00 GMT 2008


Thiago Jung Bauermann wrote:
> On Wed, 2008-05-14 at 19:31 +0200, Ulrich Weigand wrote:
> > Thus, this all appears to be dead code, and I'd prefer to remove it.
> > I've tested the patch below with no change in behaviour on powerpc-linux
> > and powerpc64-linux.
> > 
> > Am I overlooking anything here?
> 
> By the way, the patch also made bfd_lookup_symbol in solib-svr4.c look
> for symbols in data sections, and added a call to
> gdbarch_convert_from_func_ptr_addr. Is that dead code as well?

No, this is still needed on powerpc64, where the symbols point to
the .opd section ...

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com



More information about the Gdb-patches mailing list