[2/3, ppc64, elfutils patch] eu-strip vs. func addresses for GDB inferior calls
Alan Modra
amodra at gmail.com
Wed Mar 23 23:30:21 UTC 2011
On Wed, Mar 23, 2011 at 06:21:32PM +0100, Jan Kratochvil wrote:
> BFD has no idea about the linkage of the binary and the .debug BFD files.
> Only GDB connects the binary and the .debug BFD files content for the user.
I think the correct fix is for gdb to use the binary bfd when calling
get_synthetic_symtab. That isn't as simple as it sounds, because you
obviously need to use symbols from the debug info file. See oprofile
code handling exactly this situation in libutils++/bfd_support.cpp.
--
Alan Modra
Australia Development Lab, IBM
More information about the elfutils-devel
mailing list