From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 71773 invoked by alias); 29 Aug 2018 07:05:45 -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 71742 invoked by uid 89); 29 Aug 2018 07:05:45 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:340 X-HELO: jocasta.intra Received: from de.cellform.com (HELO jocasta.intra) (88.217.224.109) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 29 Aug 2018 07:05:44 +0000 Received: from jocasta.intra (localhost [127.0.0.1]) by jocasta.intra (8.15.2/8.15.2/Debian-8) with ESMTPS id w7T75eXP024008 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Wed, 29 Aug 2018 09:05:40 +0200 Received: (from john@localhost) by jocasta.intra (8.15.2/8.15.2/Submit) id w7T75e1t024007 for gdb-patches@sourceware.org; Wed, 29 Aug 2018 09:05:40 +0200 Date: Wed, 29 Aug 2018 07:05:00 -0000 From: John Darrington To: gdb-patches@sourceware.org Subject: Remote debugging over local domain sockets? Message-ID: <20180829070540.gv25gh2zph3dfced@jocasta.intra> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) X-SW-Source: 2018-08/txt/msg00726.txt.bz2 So far as I'm aware, it's not possible to run a remote target over a local domain (AF_UNIX) socket. Would you accept a patch which changes the behaviour of "target remote /foo/bar" such that if /foo/bar is a socket, gdb will connect to that socket instead of trying to open it as a device? J'