This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] typo in gdb/testsuite/config/gdbserver.exp
- From: Felix Lee <felix dot 1 at canids dot net>
- To: gdb-patches at sources dot redhat dot com
- Date: Fri, 01 Oct 2004 00:36:59 -0700
- Subject: [patch] typo in gdb/testsuite/config/gdbserver.exp
when doing host-x-host testing to a remote gdbserver,
gdbserver.exp will send an executable to the target host (using
rsh or whatever), and then it tries to run it with gdbserver on
the remote target, but it uses the name of the local executable,
not the remote executable, so that fails.
gdb/testsuite/ChangeLog:
2004-09-30 Felix Lee <felix+log1@specifixinc.com>
* config/gdbserver.exp (gdb_load): Use right filename on remote.
Index: gdb/testsuite/config/gdbserver.exp
diff -u -p -r1.1.1.2 gdbserver.exp
--- gdb/testsuite/config/gdbserver.exp 8 Jul 2004 13:06:50 -0000 1.1.1.2
+++ gdb/testsuite/config/gdbserver.exp 1 Oct 2004 07:33:56 -0000
@@ -207,7 +207,7 @@ proc gdb_load { arg } {
}
}
- set res [gdbserver_gdb_load $host_exec]
+ set res [gdbserver_gdb_load $server_exec]
set protocol [lindex $res 0]
set gdbport [lindex $res 1]