Index: gdb/testsuite/gdb.dwarf2/dw2-case-insensitive.exp |
diff --git a/gdb/testsuite/gdb.dwarf2/dw2-case-insensitive.exp b/gdb/testsuite/gdb.dwarf2/dw2-case-insensitive.exp |
index 8f58830a5afdc5dab2ba56509ecf517fdc52ffdb..3559e7cf1c511d2be9f7e8ba96ff7b3bb688eb1d 100644 |
--- a/gdb/testsuite/gdb.dwarf2/dw2-case-insensitive.exp |
+++ b/gdb/testsuite/gdb.dwarf2/dw2-case-insensitive.exp |
@@ -19,9 +19,10 @@ if {![dwarf2_support]} { |
return 0 |
} |
-set testfile "dw2-case-insensitive" |
+standard_testfile .c dw2-case-insensitive-debug.S |
-if { [prepare_for_testing ${testfile}.exp ${testfile} [list ${testfile}.c ${testfile}-debug.S] {nodebug}] } { |
+if { [prepare_for_testing ${testfile}.exp ${testfile} \ |
+ [list $srcfile $srcfile2] {nodebug}] } { |
return -1 |
} |