From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18804 invoked by alias); 4 Oct 2004 03:30:27 -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 18757 invoked from network); 4 Oct 2004 03:30:26 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 4 Oct 2004 03:30:26 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1CEJYP-0005Cm-FZ; Sun, 03 Oct 2004 23:30:25 -0400 Date: Mon, 04 Oct 2004 03:30:00 -0000 From: Daniel Jacobowitz To: Felix Lee Cc: gdb-patches@sources.redhat.com Subject: Re: [patch] typo in gdb/testsuite/config/gdbserver.exp Message-ID: <20041004033025.GA19947@nevyn.them.org> Mail-Followup-To: Felix Lee , gdb-patches@sources.redhat.com References: <20041001073659.AB14A50106A@stray.canids> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041001073659.AB14A50106A@stray.canids> User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-10/txt/msg00040.txt.bz2 On Fri, Oct 01, 2004 at 12:36:59AM -0700, Felix Lee wrote: > 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. I seem to remember this breaking my local gdbserver setup, i.e. running gdbserver on localhost. It's entirely possible that that only happened because I've goofed my board files, though. I've learned a painful amount about writing DejaGNU board files in the last couple of months, so I'll try again... > > 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] > > -- Daniel Jacobowitz