Index: gdb/testsuite/gdb.base/watchpoint-solib.exp |
diff --git a/gdb/testsuite/gdb.base/watchpoint-solib.exp b/gdb/testsuite/gdb.base/watchpoint-solib.exp |
index b3dfea7c956f9c134c7f7a5316df7bccc0fc39ad..03ccf44a78ec308c6b8c07c21bd5851d9c38fe50 100644 |
--- a/gdb/testsuite/gdb.base/watchpoint-solib.exp |
+++ b/gdb/testsuite/gdb.base/watchpoint-solib.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2007, 2009-2012 Free Software Foundation, Inc. |
+# Copyright 2007-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 |
@@ -26,10 +26,10 @@ set libfile "watchpoint-solib-shr" |
set libname "${libfile}.sl" |
set libsrcfile ${libfile}.c |
set srcfile $srcdir/$subdir/$testfile.c |
-set binfile $objdir/$subdir/$testfile |
-set shlibdir ${objdir}/${subdir} |
+set binfile [standard_output_file $testfile] |
+set shlibdir [standard_output_file {}] |
set libsrc $srcdir/$subdir/$libfile.c |
-set lib_sl $objdir/$subdir/$libname |
+set lib_sl [standard_output_file $libname] |
set lib_dlopen [shlib_target_file ${libname}] |
set lib_syms [shlib_symbol_file ${libname}] |
@@ -38,7 +38,7 @@ if [get_compiler_info] { |
} |
set lib_opts debug |
-set exec_opts [list debug shlib_load additional_flags=-DSHLIB_NAME\=\"${lib_dlopen}\"] |
+set exec_opts [list debug shlib_load additional_flags=-DSHLIB_NAME=\"${lib_dlopen}\"] |
if { [gdb_compile_shlib $libsrc $lib_sl $lib_opts] != "" |
|| [gdb_compile $srcfile $binfile executable $exec_opts] != ""} { |