Index: gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.S |
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 1c8164b40f6e71a9c4787f62b453d5528c72c536..392fe54c6c5d5e7065c5adc64885a83b46d79cd5 100644 |
--- a/gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.S |
+++ b/gdb/testsuite/gdb.dwarf2/dw2-double-set-die-type.S |
@@ -42,7 +42,7 @@ |
.4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit Info */ |
.Lcu1_start: |
.2byte 0x3 /* DWARF version number */ |
- .long .Labbrev1_begin /* Offset Into Abbrev. Section */ |
+ .4byte .Labbrev1_begin /* Offset Into Abbrev. Section */ |
.byte 0x4 /* Pointer Size (in bytes) */ |
.Ldie_b: |
@@ -50,12 +50,12 @@ |
.ascii "GNU C++ 4.4.3 20100127 (Red Hat 4.4.3-4)\0" /* DW_AT_producer */ |
.byte 0x4 /* DW_AT_language */ |
.ascii "duplicate-type.cc\0" /* DW_AT_name */ |
- .long .Ldebug_line0 /* DW_AT_stmt_list */ |
+ .4byte .Ldebug_line0 /* DW_AT_stmt_list */ |
.Ldie_38: |
.uleb128 0x3 /* (DIE (0x38) DW_TAG_typedef) */ |
.ascii "size_t\0" /* DW_AT_name */ |
- .long OFFSET (43) /* DW_AT_type */ |
+ .4byte OFFSET (43) /* DW_AT_type */ |
.Ldie_43: |
.uleb128 0x2 /* (DIE (0x43) DW_TAG_base_type) */ |
@@ -66,7 +66,7 @@ |
.Ldie_4a: |
.uleb128 0x4 /* (DIE (0x4a) DW_TAG_namespace) */ |
.ascii "std\0" /* DW_AT_name */ |
- .long OFFSET (143) /* DW_AT_sibling */ |
+ .4byte OFFSET (143) /* DW_AT_sibling */ |
.Ldie_70: |
.uleb128 0x8 /* (DIE (0x70) DW_TAG_class_type) */ |
@@ -77,7 +77,7 @@ |
.uleb128 0x9 /* (DIE (0x76) DW_TAG_structure_type) */ |
.ascii "_Vector_base<a::b, std::allocator<a::b> >\0" /* DW_AT_name */ |
.byte 0x1 /* DW_AT_declaration */ |
- .long OFFSET (f7) /* DW_AT_sibling */ |
+ .4byte OFFSET (f7) /* DW_AT_sibling */ |
.Ldie_80: |
.uleb128 0xa /* (DIE (0x80) DW_TAG_structure_type) */ |
@@ -86,7 +86,7 @@ |
.Ldie_88: |
.uleb128 0xb /* (DIE (0x88) DW_TAG_inheritance) */ |
- .long OFFSET (3e0) /* DW_AT_type */ |
+ .4byte OFFSET (3e0) /* DW_AT_type */ |
.sleb128 0 /* DW_AT_data_member_location */ |
.byte 0x1 /* DW_AT_accessibility */ |
.byte 0x0 /* end of children of DIE 0x80 */ |
@@ -117,7 +117,7 @@ |
.Ldie_1c6: |
.uleb128 0x17 /* (DIE (0x1c6) DW_TAG_pointer_type) */ |
.byte 0x8 /* DW_AT_byte_size */ |
- .long OFFSET (1cc) /* DW_AT_type */ |
+ .4byte OFFSET (1cc) /* DW_AT_type */ |
.Ldie_1cc: |
.uleb128 0x18 /* (DIE (0x1cc) DW_TAG_const_type) */ |
@@ -132,13 +132,13 @@ |
.uleb128 0x1b /* (DIE (0x221) DW_TAG_class_type) */ |
.ascii "a\0" /* DW_AT_name */ |
.byte 0x18 /* DW_AT_byte_size */ |
- .long OFFSET (277) /* DW_AT_sibling */ |
+ .4byte OFFSET (277) /* DW_AT_sibling */ |
.Ldie_22b: |
.uleb128 0x1b /* (DIE (0x22b) DW_TAG_class_type) */ |
.ascii "b\0" /* DW_AT_name */ |
.byte 0x1 /* DW_AT_byte_size */ |
- .long OFFSET (244) /* DW_AT_sibling */ |
+ .4byte OFFSET (244) /* DW_AT_sibling */ |
.Ldie_235: |
.uleb128 0x1c /* (DIE (0x235) DW_TAG_subprogram) */ |
@@ -148,7 +148,7 @@ |
.Ldie_23c: |
.uleb128 0xe /* (DIE (0x23c) DW_TAG_formal_parameter) */ |
- .long OFFSET (277) /* DW_AT_type */ |
+ .4byte OFFSET (277) /* DW_AT_type */ |
.byte 0x1 /* DW_AT_artificial */ |
.byte 0x0 /* end of children of DIE 0x235 */ |
.byte 0x0 /* end of children of DIE 0x22b */ |
@@ -156,7 +156,7 @@ |
.Ldie_244: |
.uleb128 0x1d /* (DIE (0x244) DW_TAG_member) */ |
.ascii "list\0" /* DW_AT_name */ |
- .long OFFSET (59d) /* DW_AT_type */ |
+ .4byte OFFSET (59d) /* DW_AT_type */ |
.sleb128 0 /* DW_AT_data_member_location */ |
.byte 0x3 /* DW_AT_accessibility */ |
@@ -166,11 +166,11 @@ |
.ascii "a\0" /* DW_AT_name */ |
.byte 0x1 /* DW_AT_artificial */ |
.byte 0x1 /* DW_AT_declaration */ |
- .long OFFSET (262) /* DW_AT_sibling */ |
+ .4byte OFFSET (262) /* DW_AT_sibling */ |
.Ldie_25b: |
.uleb128 0xe /* (DIE (0x25b) DW_TAG_formal_parameter) */ |
- .long OFFSET (b61) /* DW_AT_type */ |
+ .4byte OFFSET (b61) /* DW_AT_type */ |
.byte 0x1 /* DW_AT_artificial */ |
.byte 0x0 /* end of children of DIE 0x251 */ |
@@ -183,12 +183,12 @@ |
.Ldie_269: |
.uleb128 0xe /* (DIE (0x269) DW_TAG_formal_parameter) */ |
- .long OFFSET (b61) /* DW_AT_type */ |
+ .4byte OFFSET (b61) /* DW_AT_type */ |
.byte 0x1 /* DW_AT_artificial */ |
.Ldie_26f: |
.uleb128 0xe /* (DIE (0x26f) DW_TAG_formal_parameter) */ |
- .long OFFSET (19f) /* DW_AT_type */ |
+ .4byte OFFSET (19f) /* DW_AT_type */ |
.byte 0x1 /* DW_AT_artificial */ |
.byte 0x0 /* end of children of DIE 0x262 */ |
.byte 0x0 /* end of children of DIE 0x221 */ |
@@ -196,143 +196,143 @@ |
.Ldie_277: |
.uleb128 0x17 /* (DIE (0x277) DW_TAG_pointer_type) */ |
.byte 0x4 /* DW_AT_byte_size */ |
- .long OFFSET (22b) /* DW_AT_type */ |
+ .4byte OFFSET (22b) /* DW_AT_type */ |
.Ldie_27d: |
.uleb128 0x20 /* (DIE (0x27d) DW_TAG_class_type) */ |
- .long OFFSET (162) /* DW_AT_specification */ |
+ .4byte OFFSET (162) /* DW_AT_specification */ |
.byte 0x1 /* DW_AT_byte_size */ |
- .long OFFSET (3b2) /* DW_AT_sibling */ |
+ .4byte OFFSET (3b2) /* DW_AT_sibling */ |
.Ldie_2d0: |
.uleb128 0x21 /* (DIE (0x2d0) DW_TAG_subprogram) */ |
.byte 0x1 /* DW_AT_external */ |
.ascii "address\0" /* DW_AT_name */ |
- .long OFFSET (277) /* DW_AT_type */ |
+ .4byte OFFSET (277) /* DW_AT_type */ |
.byte 0x1 /* DW_AT_declaration */ |
- .long OFFSET (3b2) /* DW_AT_sibling */ |
+ .4byte OFFSET (3b2) /* DW_AT_sibling */ |
.Ldie_2e5: |
.uleb128 0xe /* (DIE (0x2e5) DW_TAG_formal_parameter) */ |
- .long OFFSET (3da) /* DW_AT_type */ |
+ .4byte OFFSET (3da) /* DW_AT_type */ |
.byte 0x1 /* DW_AT_artificial */ |
.Ldie_2eb: |
.uleb128 0xf /* (DIE (0x2eb) DW_TAG_formal_parameter) */ |
- .long OFFSET (3bd) /* DW_AT_type */ |
+ .4byte OFFSET (3bd) /* DW_AT_type */ |
.byte 0x0 /* end of children of DIE 0x2d0 */ |
.byte 0x0 /* end of children of DIE 0x27d */ |
.Ldie_3b2: |
.uleb128 0x17 /* (DIE (0x3b2) DW_TAG_pointer_type) */ |
.byte 0x4 /* DW_AT_byte_size */ |
- .long OFFSET (3b8) /* DW_AT_type */ |
+ .4byte OFFSET (3b8) /* DW_AT_type */ |
.Ldie_3b8: |
.uleb128 0x19 /* (DIE (0x3b8) DW_TAG_const_type) */ |
- .long OFFSET (22b) /* DW_AT_type */ |
+ .4byte OFFSET (22b) /* DW_AT_type */ |
.Ldie_3bd: |
.uleb128 0x22 /* (DIE (0x3bd) DW_TAG_reference_type) */ |
.byte 0x4 /* DW_AT_byte_size */ |
- .long OFFSET (22b) /* DW_AT_type */ |
+ .4byte OFFSET (22b) /* DW_AT_type */ |
.Ldie_3d5: |
.uleb128 0x19 /* (DIE (0x3d5) DW_TAG_const_type) */ |
- .long OFFSET (27d) /* DW_AT_type */ |
+ .4byte OFFSET (27d) /* DW_AT_type */ |
.Ldie_3da: |
.uleb128 0x17 /* (DIE (0x3da) DW_TAG_pointer_type) */ |
.byte 0x4 /* DW_AT_byte_size */ |
- .long OFFSET (3d5) /* DW_AT_type */ |
+ .4byte OFFSET (3d5) /* DW_AT_type */ |
.Ldie_3e0: |
.Uleb128 0x20 /* (DIE (0x3e0) DW_TAG_class_type) */ |
- .long OFFSET (70) /* DW_AT_specification */ |
+ .4byte OFFSET (70) /* DW_AT_specification */ |
.byte 0x1 /* DW_AT_byte_size */ |
- .long OFFSET (44e) /* DW_AT_sibling */ |
+ .4byte OFFSET (44e) /* DW_AT_sibling */ |
.Ldie_3ec: |
.uleb128 0xb /* (DIE (0x3ec) DW_TAG_inheritance) */ |
- .long OFFSET (27d) /* DW_AT_type */ |
+ .4byte OFFSET (27d) /* DW_AT_type */ |
.sleb128 0 /* DW_AT_data_member_location */ |
.byte 0x1 /* DW_AT_accessibility */ |
.byte 0x0 /* end of children of DIE 0x3e0 */ |
.Ldie_44e: |
.uleb128 0x1a /* (DIE (0x44e) DW_TAG_structure_type) */ |
- .long OFFSET (76) /* DW_AT_specification */ |
+ .4byte OFFSET (76) /* DW_AT_specification */ |
.byte 0x18 /* DW_AT_byte_size */ |
- .long OFFSET (505) /* DW_AT_sibling */ |
+ .4byte OFFSET (505) /* DW_AT_sibling */ |
.Ldie_505: |
.uleb128 0x11 /* (DIE (0x505) DW_TAG_subprogram) */ |
.ascii "~_Vector_base\0" /* DW_AT_name */ |
.byte 0x1 /* DW_AT_declaration */ |
- .long OFFSET (51f) /* DW_AT_sibling */ |
+ .4byte OFFSET (51f) /* DW_AT_sibling */ |
.Ldie_512: |
.uleb128 0xe /* (DIE (0x512) DW_TAG_formal_parameter) */ |
- .long OFFSET (58c) /* DW_AT_type */ |
+ .4byte OFFSET (58c) /* DW_AT_type */ |
.byte 0x1 /* DW_AT_artificial */ |
.Ldie_518: |
.uleb128 0xf /* (DIE (0x518) DW_TAG_formal_parameter) */ |
- .long OFFSET (19f) /* DW_AT_type */ |
+ .4byte OFFSET (19f) /* DW_AT_type */ |
.byte 0x0 /* end of children of DIE 0x505 */ |
.Ldie_51f: |
.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 */ |
+ .4byte OFFSET (277) /* DW_AT_type */ |
.byte 0x1 /* DW_AT_declaration */ |
- .long OFFSET (540) /* DW_AT_sibling */ |
+ .4byte OFFSET (540) /* DW_AT_sibling */ |
.Ldie_540: |
.uleb128 0x11 /* (DIE (0x540) DW_TAG_subprogram) */ |
.ascii "_M_deallocate\0" /* DW_AT_name */ |
.byte 0x1 /* DW_AT_declaration */ |
- .long OFFSET (562) /* DW_AT_sibling */ |
+ .4byte OFFSET (562) /* DW_AT_sibling */ |
.Ldie_551: |
.uleb128 0xe /* (DIE (0x551) DW_TAG_formal_parameter) */ |
- .long OFFSET (58c) /* DW_AT_type */ |
+ .4byte OFFSET (58c) /* DW_AT_type */ |
.byte 0x1 /* DW_AT_artificial */ |
.Ldie_557: |
.uleb128 0xf /* (DIE (0x557) DW_TAG_formal_parameter) */ |
- .long OFFSET (277) /* DW_AT_type */ |
+ .4byte OFFSET (277) /* DW_AT_type */ |
.Ldie_55c: |
.uleb128 0xf /* (DIE (0x55c) DW_TAG_formal_parameter) */ |
- .long OFFSET (43) /* DW_AT_type */ |
+ .4byte OFFSET (43) /* DW_AT_type */ |
.byte 0x0 /* end of children of DIE 0x540 */ |
.Ldie_562: |
.uleb128 0x5 /* (DIE (0x562) DW_TAG_imported_declaration) */ |
- .long OFFSET (51f) /* DW_AT_import */ |
+ .4byte OFFSET (51f) /* DW_AT_import */ |
.byte 0x0 /* end of children of DIE 0x44e */ |
.Ldie_586: |
.uleb128 0x22 /* (DIE (0x586) DW_TAG_reference_type) */ |
.byte 0x4 /* DW_AT_byte_size */ |
- .long OFFSET (3e0) /* DW_AT_type */ |
+ .4byte OFFSET (3e0) /* DW_AT_type */ |
.Ldie_58c: |
.uleb128 0x17 /* (DIE (0x58c) DW_TAG_pointer_type) */ |
.byte 0x8 /* DW_AT_byte_size */ |
- .long OFFSET (44e) /* DW_AT_type */ |
+ .4byte OFFSET (44e) /* DW_AT_type */ |
.Ldie_59d: |
.uleb128 0x20 /* (DIE (0x59d) DW_TAG_class_type) */ |
- .long OFFSET (f7) /* DW_AT_specification */ |
+ .4byte OFFSET (f7) /* DW_AT_specification */ |
.byte 0x18 /* DW_AT_byte_size */ |
- .long OFFSET (b44) /* DW_AT_sibling */ |
+ .4byte OFFSET (b44) /* DW_AT_sibling */ |
.Ldie_5a9: |
.uleb128 0xb /* (DIE (0x5a9) DW_TAG_inheritance) */ |
- .long OFFSET (44e) /* DW_AT_type */ |
+ .4byte OFFSET (44e) /* DW_AT_type */ |
.sleb128 0 /* DW_AT_data_member_location */ |
.byte 0x2 /* DW_AT_accessibility */ |
.byte 0x0 /* end of children of DIE 0x59d */ |
@@ -340,12 +340,12 @@ |
.Ldie_b44: |
.uleb128 0x17 /* (DIE (0xb44) DW_TAG_pointer_type) */ |
.byte 0x8 /* DW_AT_byte_size */ |
- .long OFFSET (59d) /* DW_AT_type */ |
+ .4byte OFFSET (59d) /* DW_AT_type */ |
.Ldie_b61: |
.uleb128 0x17 /* (DIE (0xb61) DW_TAG_pointer_type) */ |
.byte 0x4 /* DW_AT_byte_size */ |
- .long OFFSET (221) /* DW_AT_type */ |
+ .4byte OFFSET (221) /* DW_AT_type */ |
.byte 0x0 /* end of children of DIE 0xb */ |
.Lcu1_end: |