diff options
Diffstat (limited to 'bfd/dwarf2.c')
-rw-r--r-- | bfd/dwarf2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index 87bee39..bcaebc2 100644 --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c @@ -2380,7 +2380,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) |