Index: gdb/testsuite/gdb.arch/amd64-prologue-xmm.exp |
diff --git a/gdb/testsuite/gdb.arch/amd64-prologue-xmm.exp b/gdb/testsuite/gdb.arch/amd64-prologue-xmm.exp |
index ecd3b523ceab56f7afd0fcf8495ab6965aac1db2..6fafa26fee273f714a521fb52371f4e903ba7ceb 100644 |
--- a/gdb/testsuite/gdb.arch/amd64-prologue-xmm.exp |
+++ b/gdb/testsuite/gdb.arch/amd64-prologue-xmm.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2011-2012 Free Software Foundation, Inc. |
+# Copyright 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 |
@@ -15,10 +15,9 @@ |
# Test GCC PR debug/48827 workaround in GDB. |
-set testfile "amd64-prologue-xmm" |
-set srcfile ${testfile}.s |
+standard_testfile .s |
+set csrcfile [file rootname $srcfile].c |
set csrcfile ${testfile}.c |
-set binfile ${objdir}/${subdir}/${testfile}.x |
set opts {} |
if [info exists COMPILE] { |
@@ -30,7 +29,7 @@ if [info exists COMPILE] { |
return 0 |
} |
-if {[prepare_for_testing ${testfile}.exp ${testfile} $srcfile $opts]} { |
+if {[prepare_for_testing ${testfile}.exp ${binfile} $srcfile $opts]} { |
return -1 |
} |