diff options
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/cpp-linkage-name.exp')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/cpp-linkage-name.exp | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/cpp-linkage-name.exp b/gdb/testsuite/gdb.dwarf2/cpp-linkage-name.exp index 7442399..44d31f6 100644 --- a/gdb/testsuite/gdb.dwarf2/cpp-linkage-name.exp +++ b/gdb/testsuite/gdb.dwarf2/cpp-linkage-name.exp @@ -32,49 +32,49 @@ Dwarf::assemble $asm_file { cu {} { DW_TAG_compile_unit { - {DW_AT_language @DW_LANG_C_plus_plus} - {DW_AT_name $srcfile} - {DW_AT_comp_dir /tmp} + DW_AT_language @DW_LANG_C_plus_plus + DW_AT_name $srcfile + DW_AT_comp_dir /tmp } { declare_labels a_l b_l a_l: DW_TAG_base_type { - {DW_AT_byte_size 4 DW_FORM_sdata} - {DW_AT_encoding @DW_ATE_signed} - {DW_AT_name int} + DW_AT_byte_size 4 DW_FORM_sdata + DW_AT_encoding @DW_ATE_signed + DW_AT_name int } # To expose the bug that existed at one point this # structure must have a linkage name, but no name, and the # linkage name is something that doesn't demangle. b_l: DW_TAG_structure_type { - {DW_AT_byte_size 8 DW_FORM_sdata} - {DW_AT_encoding @DW_ATE_signed} - {DW_AT_linkage_name <anon>} + DW_AT_byte_size 8 DW_FORM_sdata + DW_AT_encoding @DW_ATE_signed + DW_AT_linkage_name <anon> } { member { - {name x} - {type :$a_l} - {data_member_location 0 data1} + DW_AT_name x + DW_AT_type :$a_l + DW_AT_data_member_location 0 data1 } member { - {name y} - {type :$a_l} - {data_member_location 0 data1} + DW_AT_name y + DW_AT_type :$a_l + DW_AT_data_member_location 0 data1 } } DW_TAG_subprogram { - {MACRO_AT_func {main}} - {type :$a_l} + MACRO_AT_func {main} + DW_AT_type :$a_l } DW_TAG_variable { - {type :$b_l} - {external 1 flag} - {DW_AT_name global_var} - {DW_AT_location { + DW_AT_type :$b_l + DW_AT_external 1 flag + DW_AT_name global_var + DW_AT_location { DW_OP_addr [gdb_target_symbol global_var] - } SPECIAL_expr} + } SPECIAL_expr } } } |