This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] Allows the binutils to cope with PE binaries where the section addresses have been changed, but the DWARF debug info has not been altered.
- From: sergiodj+buildbot at redhat dot com
- To: gdb-testers at sourceware dot org
- Date: Thu, 05 Mar 2015 07:26:43 -0500
- Subject: [binutils-gdb] Allows the binutils to cope with PE binaries where the section addresses have been changed, but the DWARF debug info has not been altered.
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT 425bd9e1bb32b25881dd20d76678d041f7bf04f8 ***
Author: Nick Clifton <nickc@redhat.com>
Branch: master
Commit: 425bd9e1bb32b25881dd20d76678d041f7bf04f8
Allows the binutils to cope with PE binaries where the section addresses have been changed, but the DWARF debug info has not been altered.
PR binutils/18025
* coffgen.c (coff_find_nearest_line_with_names): If the dwarf2
lookup fails, check for an address bias in the dwarf info, and if
one exists, retry the lookup with the biased value.
* dwarf2.c (_bfd_dwarf2_find_symbol_bias): New function.
Determines if a bias exists bewteen the addresses of functions
based on DWARF information vs symbol table information.
* libbfd-in.h (_bfd_dwarf2_find_symbol_bias): Prototype.
* libbfd.h: Regenerate.