aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2010-08-23 19:12:53 +0000
committerKeith Seitz <keiths@redhat.com>2010-08-23 19:12:53 +0000
commit832bafd3314b6f1fb7f7c0e7abe596b11e6364ba (patch)
treecb09ed5b91d13f2f8c434bd484eee658e4db0d30 /gdb
parentd0514c4914c5e635501836e54ea92b0a8fed1189 (diff)
downloadgdb-832bafd3314b6f1fb7f7c0e7abe596b11e6364ba.zip
gdb-832bafd3314b6f1fb7f7c0e7abe596b11e6364ba.tar.gz
gdb-832bafd3314b6f1fb7f7c0e7abe596b11e6364ba.tar.bz2
* 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.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.S22
2 files changed, 27 insertions, 1 deletions
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 <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:
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
+