aboutsummaryrefslogtreecommitdiff
path: root/bfd/dwarf2.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-07-06 21:13:57 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-07-06 21:13:57 +0000
commitf5296ddc5e7b7220d491a3190aabf22343579112 (patch)
tree182997c231dd7f0d96cc76366f4ba9a097887435 /bfd/dwarf2.c
parent11763c18565305217892e8e302eb55c7ced0cbcc (diff)
downloadgdb-f5296ddc5e7b7220d491a3190aabf22343579112.zip
gdb-f5296ddc5e7b7220d491a3190aabf22343579112.tar.gz
gdb-f5296ddc5e7b7220d491a3190aabf22343579112.tar.bz2
Initialize prev_line.
2010-07-06 H.J. Lu <hongjiu.lu@intel.com> * dwarf2.c (add_line_info): Initialize prev_line.
Diffstat (limited to 'bfd/dwarf2.c')
-rw-r--r--bfd/dwarf2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/dwarf2.c b/bfd/dwarf2.c
index ffe1108..6983a1c 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;