Index: gdb/testsuite/gdb.base/solib-nodir.exp |
diff --git a/gdb/testsuite/gdb.base/solib-nodir.exp b/gdb/testsuite/gdb.base/solib-nodir.exp |
index 7f456a6033fa1319cd01fc8031084a78bfad8ea9..34d9410fbab2f9a04c6f689287e3e2ec56e20ff6 100644 |
--- a/gdb/testsuite/gdb.base/solib-nodir.exp |
+++ b/gdb/testsuite/gdb.base/solib-nodir.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2010-2012 Free Software Foundation, Inc. |
+# Copyright 2010-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 |
@@ -24,11 +24,11 @@ set srclibfile foo.c |
# Arbitrary file containing main. |
set srcfile start.c |
set binlibfilebase ${testfile}.so |
-set binlibfiledir ${objdir}/${subdir} |
+set binlibfiledir [standard_output_file {}] |
set binlibfile ${binlibfiledir}/${binlibfilebase} |
set executable ${testfile} |
-set objfile ${objdir}/${subdir}/${executable}.o |
-set binfile ${objdir}/${subdir}/${executable} |
+set objfile [standard_output_file ${executable}.o] |
+set binfile [standard_output_file ${executable}] |
# build the first test case |
if { [get_compiler_info] |