From: Keith Seitz Date: Mon, 23 Aug 2010 19:12:53 +0000 (+0000) Subject: * gdb.dwarf2/dw2-double-set-die-type.S: DIE 0x51f does not X-Git-Tag: sid-snapshot-20100901~106 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=832bafd3314b6f1fb7f7c0e7abe596b11e6364ba;p=platform%2Fupstream%2Fbinutils.git * 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. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index c44e472..90c8f7a 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2010-08-23 Keith Seitz + + * 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 PR symtab/11465: diff --git a/gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.S b/gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.S index 1b70f44..cafab49 100644 --- a/gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.S +++ b/gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.S @@ -282,7 +282,7 @@ .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 @@ -630,3 +630,23 @@ .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 +