diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2015-03-04 01:10:09 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2015-03-04 01:10:09 +0000 |
| commit | f51809fde9f2fa6270bb0174abb84f8f95b2e85f (patch) | |
| tree | c82575bcb831b97711d64d1eab8ba05dc0b6731c /contrib/binutils | |
| parent | 8605122db05b6aaadcc55abd7128f00e42a61484 (diff) | |
Notes
Diffstat (limited to 'contrib/binutils')
| -rw-r--r-- | contrib/binutils/bfd/dwarf2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/binutils/bfd/dwarf2.c b/contrib/binutils/bfd/dwarf2.c index 6554f0f80bc0..1c3d7e91b493 100644 --- a/contrib/binutils/bfd/dwarf2.c +++ b/contrib/binutils/bfd/dwarf2.c @@ -2382,7 +2382,8 @@ find_line (bfd *abfd, else addr += section->vma; *filename_ptr = NULL; - *functionname_ptr = NULL; + if (!do_line) + *functionname_ptr = NULL; *linenumber_ptr = 0; if (! *pinfo) |
