Hi Daniel,

Current versions do this and have for a long time; search for
symfile_relocate_debug_section.

Interesting. Would you care to try running a recent gdb on Bjarne's test file org.o (found in the dwarf_bug.zip archive that was uploaded to this PR) ? I tried it and gdb did segfault and the problem did seem to be that it was looking at the un-relocated contents of the .debug_info section.

Cheers
  Nick




_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to