Re: [PATCH 1/4] GDBSERVER: Listen on a unix domain (instead of TCP) socket if requested.

Eli Zaretskii
2018-10-13T18:12:11Z

> From: John Darrington <john@darrington.wattle.id.au>
> Cc: John Darrington <john@darrington.wattle.id.au>
> Date: Sat, 13 Oct 2018 19:57:58 +0200
>
> When invoking gdbserver, if the COMM parameter takes the form "unix::/path/name"
> then a local (unix) domain socket will be created with that name and gdbserver
> will listen for connections on that.
>
> gdb/
> * NEWS: Mention new feature.
>
> gdb/gdbserver/
> * configure.ac (AC_CHECK_HEADERS): Add sys/un.h.
> * configure: Regenerate.
> * remote-utils.c (remote_prepare): Create a local socket if requested.
> (remote_open): Don't attempt to open a file if it's a socket.
> (handle_accept_event): Display the name of the socket on connection.
>
> gdb/common/
> * netstuff.c (parse_connection_spec)[prefixes]: New member for local domain sockets.

OK for the NEWS part.

Thanks.