This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: hurd: update RPC prototypes
- From: Samuel Thibault <samuel dot thibault at gnu dot org>
- To: Pedro Alves <palves at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Thomas Schwinge <thomas at codesourcery dot com>, bug-hurd at gnu dot org
- Date: Thu, 7 Sep 2017 00:11:28 +0200
- Subject: Re: hurd: update RPC prototypes
- Authentication-results: sourceware.org; auth=none
- References: <20170827184102.fddwriwehw6kwpv7@var.youpi.perso.aquilenet.fr> <1f1626d0-c3be-c904-f09a-3bb8e416c291@redhat.com>
Hello,
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.
Samuel