From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8774 invoked by alias); 27 Mar 2009 14:46:00 -0000 Received: (qmail 8761 invoked by uid 22791); 27 Mar 2009 14:45:57 -0000 X-SWARE-Spam-Status: No, hits=0.6 required=5.0 tests=AWL,BAYES_40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from harmonie.imag.fr (HELO harmonie.imag.fr) (147.171.130.40) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 27 Mar 2009 14:45:52 +0000 Received: from otto.imag.fr (otto.imag.fr [129.88.69.226]) by harmonie.imag.fr (8.13.8/8.13.8) with ESMTP id n2REgQh6021555; Fri, 27 Mar 2009 15:42:26 +0100 (CET) Received: from waille by otto.imag.fr with local (Exim 4.69) (envelope-from ) id 1LnDDH-0004yh-Lq; Fri, 27 Mar 2009 15:39:15 +0100 Date: Fri, 27 Mar 2009 14:46:00 -0000 From: Philippe Waille To: gdb@sourceware.org Subject: About remote target AF_UNIX socket addition ? Message-ID: <20090327143915.GA18690@otto.imag.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-IMAG-MailScanner-Information: Please contact MI2S MIM for more information X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-SpamCheck: X-IMAG-MailScanner-From: waille@otto.imag.fr X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-03/txt/msg00178.txt.bz2 Hello ! The target command allows remote stub access through TCP sockets. Could it be extended to local unix domain (AF_UNIX) sockets as well ? gdb> target remote | some_stub_target /* existing */ gdb> target remote tcp:host:ip_port_number /* existing */ gdb> target remote unix:local_filesystem_port_name /* suggested */ Typical usage : + a set of users perform debugging on a shared POSIX server + each user execute gdb and a target (a processor simulator, for instance), both on the local server + the target stub does not offer the remote pipe connection method, but allows socket connections. Each user has to be allocated a private port name in order to bind its gdb with its target. It is easier to do in the AF_UNIX local filesystem naming space than in the gloabl TCP/IP port numbering space. Best regards Ph. Waille -- ----------------------------------------------------------------------------- Philippe WAILLE email : Philippe.Waille@imag.fr IMAG ID (Informatique et distribution) Tel : 04 76 61 20 13 ENSIMAG - antenne de Montbonnot Foreign : 33 4 76 61 20 13 INOVALLEE Fax : 04 76 61 20 99 51, avenue Jean Kuntzmann 38330 MONTBONNOT SAINT MARTIN