From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 65248 invoked by alias); 7 Sep 2017 11:12:50 -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 65224 invoked by uid 89); 7 Sep 2017 11:12:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=H*M:2398, rights, lucky, ATM X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 07 Sep 2017 11:12:44 +0000 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1ECA47E42B; Thu, 7 Sep 2017 11:12:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 1ECA47E42B Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx03.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=palves@redhat.com Received: from [127.0.0.1] (ovpn04.gateway.prod.ext.ams2.redhat.com [10.39.146.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id 01D4FBE800; Thu, 7 Sep 2017 11:12:41 +0000 (UTC) Subject: Re: hurd: update RPC prototypes To: gdb-patches@sourceware.org, Thomas Schwinge , bug-hurd@gnu.org References: <20170827184102.fddwriwehw6kwpv7@var.youpi.perso.aquilenet.fr> <1f1626d0-c3be-c904-f09a-3bb8e416c291@redhat.com> <20170906221128.vhapbbvbx3duqmam@var.youpi.perso.aquilenet.fr> From: Pedro Alves Message-ID: Date: Thu, 07 Sep 2017 11:12:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20170906221128.vhapbbvbx3duqmam@var.youpi.perso.aquilenet.fr> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2017-09/txt/msg00175.txt.bz2 On 09/06/2017 11:11 PM, Samuel Thibault wrote: > Pedro Alves, on lun. 04 sept. 2017 13:14:33 +0100, wrote: >> On 08/27/2017 07:41 PM, Samuel Thibault wrote: >>> Since hurd's baf7e5c ('hurd: Use polymorphic port types to return some >>> rights.'), some RPCs prototypes have changed, gdb needs the >>> corresponding update. >>> >>> * gdb/gnu-nat.c (S_proc_getmsgport_reply, S_proc_task2proc_reply, >>> S_proc_pid2proc_reply): Add `mach_msg_type_name_t type' parameter. >> >> Say someone downloads some prebuilt Debian Hurd image or some >> such and wants to build newer gdb on that system. I assume that that would be >> broken with this change? > > Yes. > >> What's the policy regarding building ToT gdb on non-ToT Hurd systems? >> Is the intention to only ever support building ToT gdb with ToT Hurd? > > ATM we don't really support backward compatibility for mixtures of > versions. OK, seems to me that raises bar of entry to gdb/hurd hacking, but really up to you guys. A few years back, when I did some across-all-gdb-targets changes, I used the prebuilt Debian Hurd qemu image to do&test the corresponding Hurd changes. Guess I may have been lucky then to not hit some version skew. Thanks, Pedro Alves