Initialize prev_line.
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 6 Jul 2010 21:13:57 +0000 (21:13 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 6 Jul 2010 21:13:57 +0000 (21:13 +0000)
2010-07-06  H.J. Lu  <hongjiu.lu@intel.com>

* dwarf2.c (add_line_info): Initialize prev_line.

bfd/ChangeLog
bfd/dwarf2.c

index ade05112eec18ad95fa7d30e3e047df747199ca0..ea86440d8cd3eb05806a063f3bca45a02f027f28 100644 (file)
@@ -1,3 +1,7 @@
+2010-07-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * dwarf2.c (add_line_info): Initialize prev_line.
+
 2010-07-06  Alan Modra  <amodra@gmail.com>
 
        * elf32-ppc.c (ppc_elf_relax_section): Insert branch around
index ffe110857efb87a8558df6395ea0af4e3ac1f5b8..6983a1c349ed0901519a6b94ea147ea0e66af826 100644 (file)
@@ -1058,6 +1058,7 @@ add_line_info (struct line_info_table *table,
     return FALSE;
 
   /* Set member data of 'info'.  */
+  info->prev_line = NULL;
   info->address = address;
   info->op_index = op_index;
   info->line = line;