* gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
authorKeith Seitz <keiths@redhat.com>
Mon, 23 Aug 2010 19:12:53 +0000 (19:12 +0000)
committerKeith Seitz <keiths@redhat.com>
Mon, 23 Aug 2010 19:12:53 +0000 (19:12 +0000)
have any children. Create a new abbrev for it.
Add missing terminal sequence to .debug_abbrev.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.S

index c44e472..90c8f7a 100644 (file)
@@ -1,3 +1,9 @@
+2010-08-23  Keith Seitz  <keiths@redhat.com>
+
+       * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not
+       have any children. Create a new abbrev for it.
+       Add missing terminal sequence to .debug_abbrev.
+
 2010-08-20  Keith Seitz  <keiths@redhat.com>
 
        PR symtab/11465:
index 1b70f44..cafab49 100644 (file)
        .byte   0x0     # end of children of DIE 0x505
 
 .Ldie_51f:
-       .uleb128 0x21   # (DIE (0x51f) DW_TAG_subprogram)
+       .uleb128 0x23   # (DIE (0x51f) DW_TAG_subprogram)
        .byte   0x1     # DW_AT_external
        .ascii  "_M_allocate\0" # DW_AT_name
        .long   OFFSET (277)    # DW_AT_type
        .uleb128 0x13   # (DW_FORM_ref4)
        .byte   0x0
        .byte   0x0
+
+       .uleb128 0x23   # (abbrev code)
+       .uleb128 0x2e   # (TAG: DW_TAG_subprogram)
+       .byte   0x0     # DW_children_no
+       .uleb128 0x3f   # (DW_AT_external)
+       .uleb128 0xc    # (DW_FORM_flag)
+       .uleb128 0x3    # (DW_AT_name)
+       .uleb128 0x8    # (DW_FORM_string)
+       .uleb128 0x49   # (DW_AT_type)
+       .uleb128 0x13   # (DW_FORM_ref4)
+       .uleb128 0x3c   # (DW_AT_declaration)
+       .uleb128 0xc    # (DW_FORM_flag)
+       .uleb128 0x1    # (DW_AT_sibling)
+       .uleb128 0x13   # (DW_FORM_ref4)
+       .byte   0x0
+       .byte   0x0
+
+       .byte   0x0
+       .byte   0x0
+