* dwarf2.c: Add support for reading in debug information via a .gnu_debuglink section:
authorNick Clifton <nickc@redhat.com>
Fri, 22 Jun 2007 08:13:12 +0000 (08:13 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 22 Jun 2007 08:13:12 +0000 (08:13 +0000)
commit0d161102d03cac3722e9ae1e9b88039594feba0a
treeadda6c511dd9d6eb8f4c1867e956a4d63c155a2a
parentb547d72b61d5493306e27d4d0445341d26229b30
* dwarf2.c: Add support for reading in debug information via a .gnu_debuglink section:
  (struct dwarf2_debug): Add bfd field to record the bfd containing the debug info.
  (parse_comp_unit): Remove ABFD parameter.  Instead use the bfd field in the dwarf2_debug structure.
  (_bfd_dwarf2_find_nearest_line): If a debug info section could not be found in the current bfd call bfd_follow_gnu_debuglink to see if another file contains the debug information.  If it does, open it and continue.
  (bfd_dwarf2_find_line): Likewise.
bfd/ChangeLog
bfd/dwarf2.c