From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id d2xqBsnFgWF/KQAAWB0awg (envelope-from ) for ; Tue, 02 Nov 2021 19:12:09 -0400 Received: by simark.ca (Postfix, from userid 112) id 0691E1F0C1; Tue, 2 Nov 2021 19:12:09 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 6E84C1EDDB for ; Tue, 2 Nov 2021 19:12:08 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6B8FD385803F for ; Tue, 2 Nov 2021 23:12:07 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6B8FD385803F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1635894727; bh=pM7yx9CK88485d/csLhBU0T0YAnxuFVW6tv7i04do80=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=FMO9+5GAoQwln6xZDxKAtFL7AdK0+9SiT17nW1zsiUC5jint4yh7QWVS8BF4CftNJ SKXfDhV9FIzeyGESnoOTjU9ZEy9dO948e5gNXUBkGe3dNgJFimMzSDpCGSsSxpU5FK 58cIpRcO5VMgLLdx99UTSPLMey/nBSroMXJ81pps= Received: from confino.investici.org (confino.investici.org [212.103.72.250]) by sourceware.org (Postfix) with ESMTPS id 9DF5F385840D for ; Tue, 2 Nov 2021 23:11:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9DF5F385840D Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4HkQdR067Xz112D for ; Tue, 2 Nov 2021 23:11:39 +0000 (UTC) Received: from [212.103.72.250] (mx1.investici.org [212.103.72.250]) (Authenticated sender: andrea.monaco@autistici.org) by localhost (Postfix) with ESMTPSA id 4HkQdQ6Snxz10yY for ; Tue, 2 Nov 2021 23:11:38 +0000 (UTC) To: gdb@sourceware.org Subject: gdb 11.1: struct inf lacks two members Date: Wed, 03 Nov 2021 00:11:37 +0100 Message-ID: <87h7cudufq.fsf@autistici.org> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Andrea Monaco via Gdb Reply-To: Andrea Monaco Errors-To: gdb-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb" Hello, after a successful configure, gdb 11.1 fails to make in my GNU/Hurd system with the following errors: CXX gnu-nat.o gnu-nat.c: In member function 'virtual void gnu_nat_target::create_inferior(const char*, const string&, char**, int)': gnu-nat.c:2117:13: error: 'struct inf' has no member named 'target_is_pushed' 2117 | if (!inf->target_is_pushed (this)) | ^~~~~~~~~~~~~~~~ gnu-nat.c:2118:10: error: 'struct inf' has no member named 'push_target' 2118 | inf->push_target (this); | ^~~~~~~~~~~ and some others follow. I found out that struct inf (from gnu-nat.c) is only defined in the GNU/Hurd target, but it lacks the target_is_pushed and push_target members which are part of class inferior (from inferior.h). Is this a syntax error? Let me know, Andrea Monaco