Index: gdb/testsuite/gdb.base/solib-overlap.exp |
diff --git a/gdb/testsuite/gdb.base/solib-overlap.exp b/gdb/testsuite/gdb.base/solib-overlap.exp |
index 13f07a2a5cc225d855aac6648fdfe25c734ffdfe..068c1de39d395391985f86288aafb5b40d1df392 100644 |
--- a/gdb/testsuite/gdb.base/solib-overlap.exp |
+++ b/gdb/testsuite/gdb.base/solib-overlap.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 |
@@ -37,7 +37,7 @@ if [is_remote target] { |
} |
if [get_compiler_info] { |
- return -1; |
+ return -1 |
} |
# Library file. |
@@ -56,14 +56,14 @@ foreach prelink_lib1 {0x40000000 0x50000000} { with_test_prefix "$prelink_lib1" |
set prelink_lib2 [format "0x%x" [expr $prelink_lib1 + 0x01000000]] |
# Library file. |
- set binfile_lib1 ${objdir}/${subdir}/${libname}1-${prelink_lib1}.so |
+ set binfile_lib1 [standard_output_file ${libname}1-${prelink_lib1}.so] |
set binfile_lib1_test_msg OBJDIR/${subdir}/${libname}1-${prelink_lib1}.so |
- set binfile_lib2 ${objdir}/${subdir}/${libname}2-${prelink_lib1}.so |
+ set binfile_lib2 [standard_output_file ${libname}2-${prelink_lib1}.so] |
set binfile_lib2_test_msg OBJDIR/${subdir}/${libname}2-${prelink_lib1}.so |
set lib_flags {debug} |
# Binary file. |
set binfile_base ${testfile}-${prelink_lib1} |
- set binfile ${objdir}/${subdir}/${binfile_base} |
+ set binfile [standard_output_file ${binfile_base}] |
set binfile_test_msg OBJDIR/${subdir}/${binfile_base} |
set bin_flags [list debug shlib=${binfile_lib1} shlib=${binfile_lib2}] |
set escapedbinfile [string_to_regexp ${binfile}] |