From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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) From: Andrea Monaco 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-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org 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: , X-List-Received-Date: Tue, 02 Nov 2021 23:11:43 -0000 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