diff options
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/main-subprogram.exp')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/main-subprogram.exp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/main-subprogram.exp b/gdb/testsuite/gdb.dwarf2/main-subprogram.exp index 467cf20..0200316 100644 --- a/gdb/testsuite/gdb.dwarf2/main-subprogram.exp +++ b/gdb/testsuite/gdb.dwarf2/main-subprogram.exp @@ -31,22 +31,22 @@ Dwarf::assemble $asm_file { # so choose a language that isn't C and that gdb is unlikely # to implement. DW_TAG_compile_unit { - {DW_AT_language @DW_LANG_PLI} - {DW_AT_name $srcfile} - {DW_AT_comp_dir /tmp} - } { + DW_AT_language @DW_LANG_PLI + DW_AT_name $srcfile + DW_AT_comp_dir /tmp + } { declare_labels type - type: DW_TAG_base_type { - {DW_AT_byte_size 4 DW_FORM_sdata} - {DW_AT_encoding @DW_ATE_signed} - {DW_AT_name int} - } + type: DW_TAG_base_type { + DW_AT_byte_size 4 DW_FORM_sdata + DW_AT_encoding @DW_ATE_signed + DW_AT_name int + } DW_TAG_subprogram { - {MACRO_AT_func {mymain}} - {type :$type} - {DW_AT_main_subprogram 1 flag} + MACRO_AT_func {mymain} + DW_AT_type :$type + DW_AT_main_subprogram 1 flag } { } } |