diff options
author | Nick Clifton <nickc@redhat.com> | 2002-09-11 14:30:53 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-09-11 14:30:53 +0000 |
commit | dc43ada5bf9f061a3a83dee34c08ff45687c7eba (patch) | |
tree | 64b2a91d9d0ff7619ef9948bbd872f9f0d30b4cd /bfd/elf.c | |
parent | e09f4395355f59211870488d5f223466bdf2e703 (diff) | |
download | gdb-dc43ada5bf9f061a3a83dee34c08ff45687c7eba.zip gdb-dc43ada5bf9f061a3a83dee34c08ff45687c7eba.tar.gz gdb-dc43ada5bf9f061a3a83dee34c08ff45687c7eba.tar.bz2 |
Check functionname_ptr and line_ptr before deciding we've found a symbol.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6041,7 +6041,7 @@ _bfd_elf_find_nearest_line (abfd, section, symbols, offset, functionname_ptr, line_ptr, &elf_tdata (abfd)->line_info)) return false; - if (found) + if (found && (*functionname_ptr || *line_ptr)) return true; if (symbols == NULL) |