This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
src/bfd ChangeLog dwarf2.c
- From: nickc at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 22 Jun 2007 08:13:12 -0000
- Subject: src/bfd ChangeLog dwarf2.c
CVSROOT: /cvs/src
Module name: src
Changes by: nickc@sourceware.org 2007-06-22 08:13:12
Modified files:
bfd : ChangeLog dwarf2.c
Log message:
* 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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.3865&r2=1.3866
http://sourceware.org/cgi-bin/cvsweb.cgi/src/bfd/dwarf2.c.diff?cvsroot=src&r1=1.93&r2=1.94