Re: gdbserver host:port question

Chris Packham <[email protected]>
Newsgroups gmane.comp.gdb.devel
Message-ID <CAFOYHZCxf6o=hgbSngzv8qNAvyQbG9mob3L7vkVukZBrJjZP8Q@mail.gmail.com>
On Sun, 21 Apr 2019, 11:15 AM Aname, <[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.