From: H.J. Lu Date: Tue, 6 Jul 2010 21:13:57 +0000 (+0000) Subject: Initialize prev_line. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5296ddc5e7b7220d491a3190aabf22343579112;p=binutils-gdb.git Initialize prev_line. 2010-07-06 H.J. Lu * dwarf2.c (add_line_info): Initialize prev_line. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ade05112eec..ea86440d8cd 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2010-07-06 H.J. Lu + + * dwarf2.c (add_line_info): Initialize prev_line. + 2010-07-06 Alan Modra * elf32-ppc.c (ppc_elf_relax_section): Insert branch around diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c index ffe110857ef..6983a1c349e 100644 --- a/bfd/dwarf2.c +++ b/bfd/dwarf2.c @@ -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;