Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* gdbserver host:port question
@ 2019-04-20 23:15 Aname
  2019-04-21  8:52 ` Chris Packham
  0 siblings, 1 reply; 3+ messages in thread
From: Aname @ 2019-04-20 23:15 UTC (permalink / raw)
  To: gdb

Hi ,

as far as I know gdbserver can be launched with above command ,
specifying where the server should listen for incoming traffic.

however the part that confuses me is the host 'part', specifically

does host mean the IP address from which the client (gdb-multiarch)
will send its command, or the IP address relative to the host the
server is running on?

And finally will the syntax gdbserver :port be supported without
specifying the host?

Thanks


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gdbserver host:port question
  2019-04-20 23:15 gdbserver host:port question Aname
@ 2019-04-21  8:52 ` Chris Packham
  2019-04-21 11:58   ` Andreas Schwab
  0 siblings, 1 reply; 3+ messages in thread
From: Chris Packham @ 2019-04-21  8:52 UTC (permalink / raw)
  To: Aname; +Cc: gdb

On Sun, 21 Apr 2019, 11:15 AM Aname, <a.dote.fgr@gmail.com> wrote:

> Hi ,
>
> as far as I know gdbserver can be launched with above command ,
> specifying where the server should listen for incoming traffic.
>
> however the part that confuses me is the host 'part', specifically
>
> does host mean the IP address from which the client (gdb-multiarch)
> will send its command, or the IP address relative to the host the
> server is running on?
>

I believe it's the ip address of the client machine (the one running
gdb-multiarch).

And finally will the syntax gdbserver :port be supported without
> specifying the host?
>

Yes that's the typical usage for me.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gdbserver host:port question
  2019-04-21  8:52 ` Chris Packham
@ 2019-04-21 11:58   ` Andreas Schwab
  0 siblings, 0 replies; 3+ messages in thread
From: Andreas Schwab @ 2019-04-21 11:58 UTC (permalink / raw)
  To: Chris Packham; +Cc: Aname, gdb

On Apr 21 2019, Chris Packham <judge.packham@gmail.com> wrote:

> On Sun, 21 Apr 2019, 11:15 AM Aname, <a.dote.fgr@gmail.com> wrote:
>
>> Hi ,
>>
>> as far as I know gdbserver can be launched with above command ,
>> specifying where the server should listen for incoming traffic.
>>
>> however the part that confuses me is the host 'part', specifically
>>
>> does host mean the IP address from which the client (gdb-multiarch)
>> will send its command, or the IP address relative to the host the
>> server is running on?
>>
>
> I believe it's the ip address of the client machine (the one running
> gdb-multiarch).

The doc says it is simply ignored.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-04-21 11:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-20 23:15 gdbserver host:port question Aname
2019-04-21  8:52 ` Chris Packham
2019-04-21 11:58   ` Andreas Schwab

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox