Index: gdb/testsuite/gdb.base/morestack.exp |
diff --git a/gdb/testsuite/gdb.base/morestack.exp b/gdb/testsuite/gdb.base/morestack.exp |
index c008abd0f0b673aa054b6140da9db60e791a9fce..3fd5f20e7bac5a3d7f699808345c3835f17108ba 100644 |
--- a/gdb/testsuite/gdb.base/morestack.exp |
+++ b/gdb/testsuite/gdb.base/morestack.exp |
@@ -1,4 +1,4 @@ |
-# Copyright (C) 2011-2012 Free Software Foundation, Inc. |
+# Copyright (C) 2011-2013 Free Software Foundation, Inc. |
# This program is free software; you can redistribute it and/or modify |
# it under the terms of the GNU General Public License as published by |
@@ -21,8 +21,9 @@ if {$gcc_compiled == 0} { |
return -1 |
} |
-set testfile morestack |
-if { [prepare_for_testing ${testfile}.exp ${testfile} ${testfile}.c {additional_flags=-fsplit-stack}] } { |
+standard_testfile |
+ |
+if { [prepare_for_testing ${testfile}.exp ${testfile} $srcfile {additional_flags=-fsplit-stack}] } { |
return -1 |
} |