Index: gdb/testsuite/gdb.python/py-objfile-script.exp |
diff --git a/gdb/testsuite/gdb.python/py-objfile-script.exp b/gdb/testsuite/gdb.python/py-objfile-script.exp |
index abdb12754f77052c16cd9fa4f54a6f4575a71686..f75b9ba139c9bad471df14338be26bf18600360b 100644 |
--- a/gdb/testsuite/gdb.python/py-objfile-script.exp |
+++ b/gdb/testsuite/gdb.python/py-objfile-script.exp |
@@ -1,4 +1,4 @@ |
-# Copyright (C) 2011-2012 Free Software Foundation, Inc. |
+# Copyright (C) 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 |
@@ -32,7 +32,9 @@ if { [skip_python_tests] } { continue } |
# Make the -gdb.py script available to gdb, it is automagically loaded by gdb. |
# Care is taken to put it in the same directory as the binary so that |
# gdb will find it. |
-set remote_python_file [remote_download host ${srcdir}/${subdir}/${testfile}-gdb.py.in ${subdir}/${testfile}-gdb.py] |
+set remote_python_file [remote_download host \ |
+ ${srcdir}/${subdir}/${testfile}-gdb.py.in \ |
+ [standard_output_file ${testfile}-gdb.py]] |
gdb_reinitialize_dir $srcdir/$subdir |
gdb_test_no_output "set auto-load safe-path ${remote_python_file}" "set auto-load safe-path" |