This is the mail archive of the
mailing list for the GDB project.
Re: [PATCH 3/4] GDB: Fix documentation for invoking GDBSERVER
On Sunday, October 21 2018, John Darrington wrote:
> On Fri, Oct 19, 2018 at 04:45:14PM -0400, Sergio Durigan Junior wrote:
> The check needs to implemented on gdbserver/remote-utils.c:remote_open,
> and gdbserver needs to error out if "hint.ai_protocol == IPPROTO_UDP".
> And "parse_connection_spec_without_prefix" could be merged with
> A quick test shows that this is not necessary. Any attempt to start
> gdbserver with udp: will never get to remote_open because remote_prepare
> will fail when it gets to listen:
> "Can't listen on socket: Operation no supported."
> (listen is for connection orientated protocols only).
Yes, but this error message is not entirely clear. We should show a
more user-friendly message, and the best way to do that is to do an
early check for the UDP protocol.
GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible