From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 126728 invoked by alias); 13 Oct 2018 18:12:11 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 126719 invoked by uid 89); 13 Oct 2018 18:12:11 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS,TIME_LIMIT_EXCEEDED autolearn=unavailable version=3.3.2 spammy=Hx-languages-length:923 X-HELO: eggs.gnu.org Received: from eggs.gnu.org (HELO eggs.gnu.org) (208.118.235.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 13 Oct 2018 18:12:01 +0000 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gBOOJ-0000Pr-LQ for gdb-patches@sourceware.org; Sat, 13 Oct 2018 14:11:59 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBOOJ-0000PV-Fv; Sat, 13 Oct 2018 14:11:55 -0400 Received: from [176.228.60.248] (port=1412 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gBOOI-0001xr-IZ; Sat, 13 Oct 2018 14:11:55 -0400 Date: Sat, 13 Oct 2018 18:12:00 -0000 Message-Id: <83y3b1u36a.fsf@gnu.org> From: Eli Zaretskii To: John Darrington CC: gdb-patches@sourceware.org In-reply-to: <20181013175801.2670-1-john@darrington.wattle.id.au> (message from John Darrington on Sat, 13 Oct 2018 19:57:58 +0200) Subject: Re: [PATCH 1/4] GDBSERVER: Listen on a unix domain (instead of TCP) socket if requested. References: <20181013175801.2670-1-john@darrington.wattle.id.au> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-IsSubscribed: yes X-SW-Source: 2018-10/txt/msg00310.txt.bz2 > From: John Darrington > Cc: John Darrington > 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.