2005-06-09 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 9 Jun 2005 13:32:30 +0000 (13:32 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 9 Jun 2005 13:32:30 +0000 (13:32 +0000)
PR 1000
* dwarf2.c (lookup_address_in_line_info_table): Restore code
handling NULL function info, removed with 2005-04-03 change.

bfd/ChangeLog
bfd/dwarf2.c

index 1c90c89637ebd60dcd0d77ec82f2e807e837aa4e..54edc73729d68d02d8d96bd5242b6f908a779e84 100644 (file)
@@ -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.
index 410a51e84b00a5b2867074b89428408c0e69ac0c..8d21e5ae11b0d81a5a3af9388c191d21b65f7cc9 100644 (file)
@@ -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)