Index: gdb/testsuite/gdb.cp/anon-struct.exp |
diff --git a/gdb/testsuite/gdb.cp/anon-struct.exp b/gdb/testsuite/gdb.cp/anon-struct.exp |
index 4130e9c4bd9ef1c81bcb596f3ae3fc3594600008..b3a0806e74e573fbe2cb45f0d50b1030305db678 100644 |
--- a/gdb/testsuite/gdb.cp/anon-struct.exp |
+++ b/gdb/testsuite/gdb.cp/anon-struct.exp |
@@ -14,9 +14,8 @@ |
# You should have received a copy of the GNU General Public License |
# along with this program. If not, see <http://www.gnu.org/licenses/>. |
-set testfile anon-struct |
-set srcfile ${testfile}.cc |
-set binfile ${objdir}/${subdir}/${testfile} |
+standard_testfile .cc |
+ |
if { [prepare_for_testing ${testfile}.exp ${testfile} ${srcfile} {debug c++}] } { |
return -1 |
} |