From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id j7CCHHTi4F9MXAAAWB0awg (envelope-from ) for ; Mon, 21 Dec 2020 12:59:16 -0500 Received: by simark.ca (Postfix, from userid 112) id 624281F0AA; Mon, 21 Dec 2020 12:59:16 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_NONE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from sourceware.org (unknown [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 0476C1E965 for ; Mon, 21 Dec 2020 12:59:16 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 887C1386F839; Mon, 21 Dec 2020 17:59:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 887C1386F839 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1608573555; bh=houoE7hM6UkuQxuOav3Hq5pvUMwvWyz2yvBZYcRWbWg=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=RL7j5j3i0mWmG5xbuagqBWSorm7bjG3n5IgDgaedpm/8Xyh6LImDL2BaVzlzLTt7M Mkvz/0mq1Cgakt4+X9K6okbDCkD69qKttxPJxZIaRPVZ+S6vgy2X1Y5ymqzdGzqRUM dcHU/Bt/nkW1aSN0ezV5RNM0i9YPXq7iivZYv7Ac= Received: from hera.aquilenet.fr (hera.aquilenet.fr [IPv6:2a0c:e300::1]) by sourceware.org (Postfix) with ESMTPS id D598F386F818 for ; Mon, 21 Dec 2020 17:59:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org D598F386F818 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 8CF12FDE; Mon, 21 Dec 2020 18:59:12 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N2RZotLWOKcX; Mon, 21 Dec 2020 18:59:11 +0100 (CET) Received: from function.youpi.perso.aquilenet.fr (lfbn-bor-1-56-204.w90-50.abo.wanadoo.fr [90.50.148.204]) by hera.aquilenet.fr (Postfix) with ESMTPSA id C9AC0FDB; Mon, 21 Dec 2020 18:59:11 +0100 (CET) Received: from samy by function.youpi.perso.aquilenet.fr with local (Exim 4.94) (envelope-from ) id 1krPSg-000L9o-B1; Mon, 21 Dec 2020 18:59:10 +0100 Date: Mon, 21 Dec 2020 18:59:10 +0100 To: gdb-patches@sourceware.org, Thomas Schwinge , thomas@schwinge.name Subject: [PATCH] hurd: Fix getting VM_MIN/MAX_ADDRESS Message-ID: <20201221175910.yv56opyzsdjn6s3f@function> Mail-Followup-To: gdb-patches@sourceware.org, Thomas Schwinge , thomas@schwinge.name, bug-hurd@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Samuel Thibault via Gdb-patches Reply-To: Samuel Thibault Cc: bug-hurd@gnu.org Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" gnu-nat.c was getting the inclusion of vm_param.h only by luck. We need to explicitly include it to be sure to get the definitions of VM_MIN/MAX_ADDRESS. gdb/ChangeLog: * gnu-nat.c: Include . diff --git a/gdb/gnu-nat.c b/gdb/gnu-nat.c index 1693ce0c43..6f290be0d5 100644 --- a/gdb/gnu-nat.c +++ b/gdb/gnu-nat.c @@ -32,6 +32,7 @@ extern "C" #include #include #include +#include #include #include