From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 1504E387605F for ; Mon, 16 Mar 2020 17:36:07 +0000 (GMT) Received: from [10.0.0.11] (unknown [192.222.164.54]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id A24FE1E5F8; Mon, 16 Mar 2020 13:36:06 -0400 (EDT) Subject: Re: [PATCH] Include missing header to get missing declarations To: Kamil Rytarowski , gdb-patches@sourceware.org References: <20200316172922.3548-1-n54@gmx.com> From: Simon Marchi Message-ID: <6187f346-8eda-87ff-9e2a-2df9884f3e2f@simark.ca> Date: Mon, 16 Mar 2020 13:36:06 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: <20200316172922.3548-1-n54@gmx.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US-large Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=5.0 tests=KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org 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: , X-List-Received-Date: Mon, 16 Mar 2020 17:36:07 -0000 On 2020-03-16 1:29 p.m., Kamil Rytarowski wrote: > CXX amd64-bsd-nat.o > amd64-bsd-nat.c:42:1: error: no previous declaration void amd64bsd_fetch_inferior_registers(regcache*, [-Werror=missing-declarations] > amd64bsd_fetch_inferior_registers (struct regcache *regcache, int regnum) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > amd64-bsd-nat.c:118:1: error: no previous declaration void amd64bsd_store_inferior_registers(regcache*, [-Werror=missing-declarations] > amd64bsd_store_inferior_registers (struct regcache *regcache, int regnum) > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Detected on NetBSD/amd64 9.99.49. > > gdb/ChangeLog: > > * amd64-bsd-nat.c: Include amd64-bsd-nat.h". Thanks, that LGTM. Simon