Index: gdb/testsuite/gdb.stabs/weird.exp |
diff --git a/gdb/testsuite/gdb.stabs/weird.exp b/gdb/testsuite/gdb.stabs/weird.exp |
index 78ceb68d401c4e42c8662c0afc0ba4ddd26f9a34..64e60820b8148faea5783e0a19a11aafe064131a 100644 |
--- a/gdb/testsuite/gdb.stabs/weird.exp |
+++ b/gdb/testsuite/gdb.stabs/weird.exp |
@@ -1,5 +1,4 @@ |
-# Copyright 1997-1999, 2001, 2003-2004, 2006-2012 Free Software |
-# Foundation, Inc. |
+# Copyright 1997-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 |
@@ -293,7 +292,8 @@ gdb_exit |
gdb_start |
gdb_reinitialize_dir $srcdir/$subdir |
-set binfile [remote_download host ${binfile} object.o] |
+set binfile [gdb_remote_download host ${binfile} \ |
+ [standard_output_file object.o]] |
send_gdb "file $binfile\n" |
# If $binfile is very long, a \r (but not a \n) will echo in the |
# middle of the echo of the command. So to match the echo, we |