projects
/
platform
/
upstream
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b27a00c
)
PR binutils/4797
author
Nick Clifton
<nickc@redhat.com>
Thu, 19 Jul 2007 16:51:10 +0000
(16:51 +0000)
committer
Nick Clifton
<nickc@redhat.com>
Thu, 19 Jul 2007 16:51:10 +0000
(16:51 +0000)
* dwarf2.c: (find_line) Do not dereference functionname_ptr if do_line is true.
bfd/ChangeLog
patch
|
blob
|
history
bfd/dwarf2.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index
81a8fd4
..
a90b270
100644
(file)
--- a/
bfd/ChangeLog
+++ b/
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
diff --git
a/bfd/dwarf2.c
b/bfd/dwarf2.c
index
87bee39
..
bcaebc2
100644
(file)
--- a/
bfd/dwarf2.c
+++ b/
bfd/dwarf2.c
@@
-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)