From: Daniel Jacobowitz <drow@false.org>
To: Felix Lee <felix.1@canids.net>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [patch] typo in gdb/testsuite/config/gdbserver.exp
Date: Mon, 04 Oct 2004 03:30:00 -0000 [thread overview]
Message-ID: <20041004033025.GA19947@nevyn.them.org> (raw)
In-Reply-To: <20041001073659.AB14A50106A@stray.canids>
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 <felix+log1@specifixinc.com>
>
> * 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
next prev parent reply other threads:[~2004-10-04 3:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-01 7:37 Felix Lee
2004-10-04 3:30 ` Daniel Jacobowitz [this message]
[not found] ` <drow@false.org>
2004-10-04 8:40 ` Felix Lee
2004-10-04 21:31 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041004033025.GA19947@nevyn.them.org \
--to=drow@false.org \
--cc=felix.1@canids.net \
--cc=gdb-patches@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox