OSDN Git Service

* 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)
commit65dafe7f8548d31c678e5190ae1b867f1ca2a419
treed57f52a69ae85ef835ab8d614ec8aefa3124d295
parent32e0b0af4880859262190209a4d3265c0dca8b57
* 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