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 21:16:34 +0200 (CEST)
- Subject: Re: [rfc] Remove "function descriptor" handling on ppc32
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