mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-21 02:24:17 +08:00
Check functionname_ptr and line_ptr before deciding we've found a symbol.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2002-09-11 Andrew Haley <aph@cambridge.redhat.com>
|
||||||
|
|
||||||
|
* elf.c (_bfd_elf_find_nearest_line): Check functionname_ptr and
|
||||||
|
line_ptr before deciding we've found a symbol.
|
||||||
|
|
||||||
2002-09-11 Nick Clifton <nickc@redhat.com>
|
2002-09-11 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* po/da.po: New Danish translation file.
|
* po/da.po: New Danish translation file.
|
||||||
|
@ -6041,7 +6041,7 @@ _bfd_elf_find_nearest_line (abfd, section, symbols, offset,
|
|||||||
functionname_ptr, line_ptr,
|
functionname_ptr, line_ptr,
|
||||||
&elf_tdata (abfd)->line_info))
|
&elf_tdata (abfd)->line_info))
|
||||||
return false;
|
return false;
|
||||||
if (found)
|
if (found && (*functionname_ptr || *line_ptr))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (symbols == NULL)
|
if (symbols == NULL)
|
||||||
|
Reference in New Issue
Block a user