PR binutils/4797

* dwarf2.c: (find_line) Do not dereference functionname_ptr if do_line is true.
This commit is contained in:
Nick Clifton 2007-07-19 16:51:10 +00:00
parent b27a00c588
commit 6b33789f61
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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)