From: Daniel Jacobowitz <drow@false.org>
To: Orjan Friberg <orjan.friberg@axis.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: Remote target (CRIS) DejaGNU config scripts
Date: Mon, 23 Feb 2004 15:39:00 -0000 [thread overview]
Message-ID: <20040223153926.GA31279@nevyn.them.org> (raw)
In-Reply-To: <403A1E24.3090801@axis.com>
On Mon, Feb 23, 2004 at 04:37:08PM +0100, Orjan Friberg wrote:
> Daniel Jacobowitz wrote:
> >
> >I've attached a modified version that I'm using as I type. It works
> >pretty much OK. You may need to change host_exec to server_exec in the
> >call to gdbserver_gdb_load in config/gdbserver.exp, depending on your
> >setup.
>
> Thanks Daniel, I think I'm halfway there. One thing has me puzzled
> though, hostname vs. sockethost (from your example):
>
> >set_board_info hostname innovator
> >set_board_info sockethost "innovator:"
>
> Substituting innovator with my board's IP address (10.13.8.125) this
> results in:
>
> On the board: gdbserver 10.13.8.125:2346 <file>
> On the host: target remote 10.13.8.125:2346
>
> But the gdbserver should be started with the host's IP address as an
> argument, not the IP address of the board itself, right? (Changing the
> sockethost variable to the host's IP address only results in the reverse
> situation, which means "target remote" will try and listen to a local
> port.) Or am I totally missing something?
All you're missing is that gdbserver ignores the IP specified - it just
wants there to be a colon. When I do it by hand I say ":5555".
Theoretically, gdbserver should parse the IP, and make sure only to
accept a connection from that IP... but it doesn't.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
next prev parent reply other threads:[~2004-02-23 15:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-19 16:32 Orjan Friberg
2004-02-19 17:19 ` Daniel Jacobowitz
2004-02-23 15:37 ` Orjan Friberg
2004-02-23 15:39 ` Daniel Jacobowitz [this message]
2004-02-23 15:51 ` Orjan Friberg
2004-02-23 16:33 ` Orjan Friberg
2004-02-23 16:47 ` 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=20040223153926.GA31279@nevyn.them.org \
--to=drow@false.org \
--cc=gdb-patches@sources.redhat.com \
--cc=orjan.friberg@axis.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