This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch 3/3 ppc64] the fix
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: jan dot kratochvil at redhat dot com (Jan Kratochvil)
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 6 Apr 2011 22:45:01 +0200 (CEST)
- Subject: Re: [patch 3/3 ppc64] the fix
Jan Kratochvil wrote:
> * ppc-sysv-tdep.c <HAVE_ELF> (ppc64_sysv_translate_debuginfo_syms)
> <HAVE_ELF> (ppc64_sysv_elf_synthetic_msyms_prep)
> <!HAVE_ELF> (ppc64_sysv_elf_synthetic_msyms_prep): New functions.
Why is all that remapping necessary?
Is there some reason why we cannot just call bfd_get_synthetic_symtab with
the original bfd, and the (non-translated) symbol_table from the debuginfo
bfd?
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com