From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24693 invoked by alias); 1 Oct 2004 07:37:02 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 24669 invoked from network); 1 Oct 2004 07:37:01 -0000 Received: from unknown (HELO capitol.mail.pas.earthlink.net) (207.217.120.180) by sourceware.org with SMTP; 1 Oct 2004 07:37:01 -0000 Received: from ip216-26-76-19.dsl.du.teleport.com ([216.26.76.19] helo=stray.canids) by capitol.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1CDHyO-0005qX-00 for gdb-patches@sources.redhat.com; Fri, 01 Oct 2004 00:37:00 -0700 Received: from stray.canids (localhost.localdomain [127.0.0.1]) by stray.canids (Postfix) with ESMTP id AB14A50106A for ; Fri, 1 Oct 2004 00:36:59 -0700 (PDT) From: Felix Lee To: gdb-patches@sources.redhat.com Subject: [patch] typo in gdb/testsuite/config/gdbserver.exp Date: Fri, 01 Oct 2004 07:37:00 -0000 Message-Id: <20041001073659.AB14A50106A@stray.canids> X-SW-Source: 2004-10/txt/msg00005.txt.bz2 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 * 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]