From: Tom Tromey Date: Thu, 22 Aug 2013 18:05:39 +0000 (-0600) Subject: fix weird.exp for parallel testing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8c639e7374a512c66850f636860140530c30b44f;p=binutils-gdb.git fix weird.exp for parallel testing This fixes up gdb.stabs/weird.exp for parallel testing. This just means using gdb_remote_download and standard_output_file, so that the tests end up in the right place. 2013-11-04 Tom Tromey * gdb.stabs/weird.exp: Use gdb_remote_download and standard_output_file. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 72d9c033e23..dda7d1b6ac3 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2013-11-04 Tom Tromey + + * gdb.stabs/weird.exp: Use gdb_remote_download and + standard_output_file. + 2013-11-04 Tom Tromey * gdb.base/gcore-buffer-overflow.exp: Use diff --git a/gdb/testsuite/gdb.stabs/weird.exp b/gdb/testsuite/gdb.stabs/weird.exp index bf0fdbaae7f..64e60820b81 100644 --- a/gdb/testsuite/gdb.stabs/weird.exp +++ b/gdb/testsuite/gdb.stabs/weird.exp @@ -292,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