summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorKeith Seitz <keiths@redhat.com>2010-08-23 19:12:52 +0000
committerKeith Seitz <keiths@redhat.com>2010-08-23 19:12:52 +0000
commitf3e7fc895444d040bfe19f001e96bf54b753253b (patch)
tree5abfa92d5cf2076c14f3cda4f33e997d5f0d00f0 /gdb
parent04e537a8357644a10f6ccb48e02ec5408ed42399 (diff)
downloadgdb-f3e7fc895444d040bfe19f001e96bf54b753253b.tar.gz
* 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 c44e472f93e..90c8f7a61cd 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 1b70f4444c3..cafab49e4ef 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
+