From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 43215 invoked by alias); 21 Oct 2018 07:33:43 -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 24950 invoked by uid 89); 21 Oct 2018 07:33:37 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=H*Ad:D*au, HCc:D*au, H*Ad:D*id.au, HCc:D*id.au 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; Sun, 21 Oct 2018 07:33:35 +0000 Received: from jocasta.intra (localhost [127.0.0.1]) by jocasta.intra (8.15.2/8.15.2/Debian-8) with ESMTPS id w9L7XSuL006898 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 21 Oct 2018 09:33:28 +0200 Received: (from john@localhost) by jocasta.intra (8.15.2/8.15.2/Submit) id w9L7XRGe006897; Sun, 21 Oct 2018 09:33:27 +0200 Date: Sun, 21 Oct 2018 07:33:00 -0000 From: John Darrington To: Sergio Durigan Junior Cc: John Darrington , gdb-patches@sourceware.org Subject: Re: [PATCH 3/4] GDB: Fix documentation for invoking GDBSERVER Message-ID: <20181021073327.nl4k6ryh2bwqerzs@jocasta.intra> References: <20181013175801.2670-1-john@darrington.wattle.id.au> <20181013175801.2670-3-john@darrington.wattle.id.au> <871s8nxaoj.fsf@redhat.com> <20181019070549.6zu5fcdftmefqtzs@jocasta.intra> <87zhv9vf6t.fsf@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87zhv9vf6t.fsf@redhat.com> User-Agent: NeoMutt/20170113 (1.7.2) X-SW-Source: 2018-10/txt/msg00464.txt.bz2 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 "parse_connection_spec". 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). J' -- Avoid eavesdropping. Send strong encrypted email. PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key.