This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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]
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]