Browse Source

PR binutils/4797

* dwarf2.c: (find_line) Do not dereference functionname_ptr if do_line is true.
binutils-2_18-branch
Nick Clifton 19 years ago
parent
commit
6b33789f61
  1. 6
      bfd/ChangeLog
  2. 1
      bfd/dwarf2.c

6
bfd/ChangeLog

@ -1,3 +1,9 @@
2007-07-19 Doug Kwan <dougkwan@google.com>
PR binutils/4797
* dwarf2.c: (find_line) Do not dereference functionname_ptr if
do_line is true.
2007-07-18 Bob Wilson <bob.wilson@acm.org>
* elf32-xtensa.c (xtensa_callback_required_dependence): Ignore

1
bfd/dwarf2.c

@ -2380,6 +2380,7 @@ find_line (bfd *abfd,
else
addr += section->vma;
*filename_ptr = NULL;
if (! do_line)
*functionname_ptr = NULL;
*linenumber_ptr = 0;

Loading…
Cancel
Save