diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2005-06-09 13:32:30 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2005-06-09 13:32:30 +0000 |
commit | 6bd00c5db5d6f508c7b60a487934fecbb01247e6 (patch) | |
tree | c77dddf403a7f410269a485073d0417e73ef9cb3 /bfd/dwarf2.c | |
parent | a366f4ff7b68695744106ce633100166f872d232 (diff) | |
download | gdb-6bd00c5db5d6f508c7b60a487934fecbb01247e6.zip gdb-6bd00c5db5d6f508c7b60a487934fecbb01247e6.tar.gz gdb-6bd00c5db5d6f508c7b60a487934fecbb01247e6.tar.bz2 |
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/dwarf2.c')
-rw-r--r-- | bfd/dwarf2.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index 410a51e..8d21e5a 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) |