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  <tromey@redhat.com>

	* gdb.stabs/weird.exp: Use gdb_remote_download and
	standard_output_file.
This commit is contained in:
Tom Tromey 2013-08-22 12:05:39 -06:00
parent 5030a410ad
commit 8c639e7374
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-11-04 Tom Tromey <tromey@redhat.com>
* gdb.stabs/weird.exp: Use gdb_remote_download and
standard_output_file.
2013-11-04 Tom Tromey <tromey@redhat.com>
* gdb.base/gcore-buffer-overflow.exp: Use

View File

@ -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