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: [patch 3/3 ppc64] the fix


On Wed, 06 Apr 2011 22:45:01 +0200, Ulrich Weigand wrote:
> 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?  

Otherwise a bfd fix is still needed:
	Re: [3/3, ppc64, bfd patch] eu-strip vs. func addresses for GDB inferior calls
	http://sourceware.org/ml/gdb-patches/2011-03/msg01046.html

and I have followed:

On Thu, 24 Mar 2011 00:30:21 +0100, Alan Modra wrote:
# See oprofile 
# code handling exactly this situation in libutils++/bfd_support.cpp.


> 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?

It works, I will try to push a patchset #3 combining both #1, #2 and your
advice.


Thanks,
Jan


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