]> granicus.if.org Git - yasm/commitdiff
Merge [1383] from trunk. v0.5.0rc1
authorPeter Johnson <peter@tortall.net>
Sun, 12 Feb 2006 04:02:15 +0000 (04:02 -0000)
committerPeter Johnson <peter@tortall.net>
Sun, 12 Feb 2006 04:02:15 +0000 (04:02 -0000)
svn path=/branches/yasm-0.5.x/; revision=1384

modules/dbgfmts/dwarf2/dwarf2-info.c

index 039021dff2657a6db54a385906217a142b4b3770..b961ff68a2e36d5ddbe565c3ce66a4f2f639a38b 100644 (file)
@@ -374,6 +374,9 @@ yasm_dwarf2__generate_info(yasm_dbgfmt_dwarf2 *dbgfmt_dwarf2,
     abbrev = yasm_xmalloc(sizeof(dwarf2_abbrev));
     abc = yasm_bc_create_common(&dwarf2_abbrev_bc_callback, abbrev, 0);
     abbrev->id = 0;
+    abbrev->tag = 0;
+    abbrev->has_children = 0;
+    STAILQ_INIT(&abbrev->attrs);
     abc->len = 1;
     yasm_dwarf2__append_bc(debug_abbrev, abc);