projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e09f439
)
Check functionname_ptr and line_ptr before deciding we've found a symbol.
author
Nick Clifton
<nickc@redhat.com>
Wed, 11 Sep 2002 14:30:53 +0000
(14:30 +0000)
committer
Nick Clifton
<nickc@redhat.com>
Wed, 11 Sep 2002 14:30:53 +0000
(14:30 +0000)
bfd/ChangeLog
patch
|
blob
|
history
bfd/elf.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index f7947277425c9e7d6d8725a6207e7333b1d39017..8a84296e83c6d68af5740c491c76c82cf6d85356 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-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>
* po/da.po: New Danish translation file.
diff --git
a/bfd/elf.c
b/bfd/elf.c
index 71763d41befce52a8bcd4aff828f22f580532cec..7f54909af96a5d236cfda2ea0d4f3f15b67d1fca 100644
(file)
--- a/
bfd/elf.c
+++ b/
bfd/elf.c
@@
-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)