From f5296ddc5e7b7220d491a3190aabf22343579112 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 6 Jul 2010 21:13:57 +0000 Subject: [PATCH] Initialize prev_line. 2010-07-06 H.J. Lu * dwarf2.c (add_line_info): Initialize prev_line. --- bfd/ChangeLog | 4 ++++ bfd/dwarf2.c | 1 + 2 files changed, 5 insertions(+) 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; -- 2.30.2