diff options
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/mega-enum.exp')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/mega-enum.exp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/mega-enum.exp b/gdb/testsuite/gdb.dwarf2/mega-enum.exp index 7482edb..7817fbf 100644 --- a/gdb/testsuite/gdb.dwarf2/mega-enum.exp +++ b/gdb/testsuite/gdb.dwarf2/mega-enum.exp @@ -26,21 +26,21 @@ Dwarf::assemble $asm_file { cu {} { DW_TAG_compile_unit { - {DW_AT_language @DW_LANG_C} - {DW_AT_name $srcfile} - {DW_AT_comp_dir /tmp} + DW_AT_language @DW_LANG_C + DW_AT_name $srcfile + DW_AT_comp_dir /tmp } { declare_labels integer_label integer_label: 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 } DW_TAG_enumeration_type { - {DW_AT_name mega_enum} - {DW_AT_type :$integer_label} + DW_AT_name mega_enum + DW_AT_type :$integer_label } { # In the past gdb used a 'short' for the field count. # But this fails if there are too many fields. If the @@ -48,8 +48,8 @@ Dwarf::assemble $asm_file { # so use a number that's just big enough. for {set i 0} {$i < 65538} {incr i} { DW_TAG_enumerator { - {DW_AT_name DEI_$i} - {DW_AT_const_value $i DW_FORM_sdata} + DW_AT_name DEI_$i + DW_AT_const_value $i DW_FORM_sdata } } } |