Index: gdb/testsuite/gdb.base/solib-display.exp |
diff --git a/gdb/testsuite/gdb.base/solib-display.exp b/gdb/testsuite/gdb.base/solib-display.exp |
index 17ded75bff0c373fa8493f89f200d61dabe17d07..928719deae149ca4403c360a44e06de3670042d5 100644 |
--- a/gdb/testsuite/gdb.base/solib-display.exp |
+++ b/gdb/testsuite/gdb.base/solib-display.exp |
@@ -1,4 +1,4 @@ |
-# Copyright 2009-2012 Free Software Foundation, Inc. |
+# Copyright 2009-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 |
# the Free Software Foundation; either version 3 of the License, or |
@@ -35,13 +35,13 @@ if { [skip_shlib_tests] || [is_remote target] } { |
# Library file. |
set libname "solib-display-lib" |
set srcfile_lib ${srcdir}/${subdir}/${libname}.c |
-set binfile_lib ${objdir}/${subdir}/${libname}.so |
+set binfile_lib [standard_output_file ${libname}.so] |
set lib_flags {} |
# Binary file. |
set testfile "solib-display-main" |
set srcfile ${srcdir}/${subdir}/${testfile}.c |
set executable ${testfile} |
-set binfile ${objdir}/${subdir}/${executable} |
+set binfile [standard_output_file ${executable}] |
set bin_flags [list debug shlib=${binfile_lib}] |
if [get_compiler_info] { |