diff options
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/implref-array.exp')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/implref-array.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/implref-array.exp b/gdb/testsuite/gdb.dwarf2/implref-array.exp index 0e6cc049798..3535be5f532 100644 --- a/gdb/testsuite/gdb.dwarf2/implref-array.exp +++ b/gdb/testsuite/gdb.dwarf2/implref-array.exp @@ -51,7 +51,7 @@ set array_length [get_valueof "/u" "sizeof(array) / sizeof(array\[0\])" -1] # The variable must be global so that its name is an exported symbol that we # can reference from the DWARF using gdb_target_symbol. Dwarf::assemble ${asm_file} { - global srcdir subdir srcfile array_length + global array_length cu {} { DW_TAG_compile_unit { @@ -99,7 +99,7 @@ Dwarf::assemble ${asm_file} { } DW_TAG_subprogram { - {MACRO_AT_func { "main" "${srcdir}/${subdir}/${srcfile}" }} + {MACRO_AT_func { "main" }} {DW_AT_type :${int_label}} {DW_AT_external 1 DW_FORM_flag} } { |