summaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2005-06-09 13:32:30 +0000
committerH.J. Lu <hjl@lucon.org>2005-06-09 13:32:30 +0000
commit84046d0dfeedbb6240529115cb90d1df00101888 (patch)
tree2bf1277ead87225becb9d807e909cc0d2efb3b5d /bfd
parent9a4f41746e8cbe01d7d1fb40288351be8b8aac51 (diff)
downloadgdb-84046d0dfeedbb6240529115cb90d1df00101888.tar.gz
2005-06-09 H.J. Lu <hongjiu.lu@intel.com>
PR 1000 * dwarf2.c (lookup_address_in_line_info_table): Restore code handling NULL function info, removed with 2005-04-03 change.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/dwarf2.c5
2 files changed, 11 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 1c90c89637e..54edc73729d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2005-06-09 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR 1000
+ * dwarf2.c (lookup_address_in_line_info_table): Restore code
+ handling NULL function info, removed with 2005-04-03 change.
+
2005-06-08 Mark Mitchell <mark@codesourcery.com>
* opncls.c (bfd_fopen): Mark returned BFD as cacheable if FD == -1.
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index 410a51e84b0..8d21e5ae11b 100644
--- a/bfd/dwarf2.c
+++ b/bfd/dwarf2.c
@@ -1326,6 +1326,11 @@ lookup_address_in_line_info_table (struct line_info_table *table,
*linenumber_ptr = each_line->line;
}
}
+ else
+ {
+ *filename_ptr = each_line->filename;
+ *linenumber_ptr = each_line->line;
+ }
}
if (addr_match && !each_line->end_sequence)