Index: gdb/testsuite/gdb.dwarf2/pr10770.exp |
diff --git a/gdb/testsuite/gdb.dwarf2/pr10770.exp b/gdb/testsuite/gdb.dwarf2/pr10770.exp |
index 094f807b2851c77ce27beac33d407d84b91c3146..4c60b163f80258f02bc2cfcf5b191811d317b1fd 100644 |
--- a/gdb/testsuite/gdb.dwarf2/pr10770.exp |
+++ b/gdb/testsuite/gdb.dwarf2/pr10770.exp |
@@ -15,15 +15,14 @@ |
# Test DW_OP_call_frame_cfa. |
-set testfile "pr10770" |
-set srcfile ${testfile}.c |
+standard_testfile |
if {[prepare_for_testing ${testfile}.exp ${testfile} ${srcfile}]} { |
return 0 |
} |
# This test can only be run on targets which use GCC. |
-get_compiler_info ${testfile} |
+get_compiler_info |
if {![test_compiler_info "gcc-*"]} { |
return 0 |
} |