From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 107175 invoked by alias); 26 Mar 2019 17:03:44 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 107156 invoked by uid 89); 26 Mar 2019 17:03:43 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-19.8 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1 spammy=HContent-Transfer-Encoding:8bit X-HELO: simark.ca Received: from simark.ca (HELO simark.ca) (158.69.221.121) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 26 Mar 2019 17:03:42 +0000 Received: from [172.16.0.89] (192-222-157-41.qc.cable.ebox.net [192.222.157.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by simark.ca (Postfix) with ESMTPSA id 018CC1E478; Tue, 26 Mar 2019 13:03:39 -0400 (EDT) Subject: Re: [OBV][PATCH] Fix Arm build To: Alan Hayward , "gdb-patches@sourceware.org" Cc: nd References: <20190326114239.34311-1-alan.hayward@arm.com> From: Simon Marchi Message-ID: <471bd2e4-3bbe-8e43-b2eb-0561437f7d33@simark.ca> Date: Tue, 26 Mar 2019 17:03:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 MIME-Version: 1.0 In-Reply-To: <20190326114239.34311-1-alan.hayward@arm.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2019-03/txt/msg00600.txt.bz2 On 2019-03-26 7:43 a.m., Alan Hayward wrote: > [Should have checked this when I fixed s390 build. > Going to see about getting an Arm box into buildbot - booting Linux > in Qemu-AArch64 in AArch32 mode on a AArch64 box might be fast enough to > use as an Arm machine] > > > Add missing include. > > 2019-03-26 Alan Hayward > > * arm-linux-nat.c: Add include. > --- > gdb/arm-linux-nat.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/gdb/arm-linux-nat.c b/gdb/arm-linux-nat.c > index b54bd5afe9..52668da9fc 100644 > --- a/gdb/arm-linux-nat.c > +++ b/gdb/arm-linux-nat.c > @@ -38,6 +38,7 @@ > #include > > #include "nat/linux-ptrace.h" > +#include "linux-tdep.h" > > /* Prototypes for supply_gregset etc. */ > #include "gregset.h" > powerpc seems to have this problem as well :) /home/smarchi/src/binutils-gdb/gdb/ppc-linux-nat.c:2616:22: error: ‘linux_get_hwcap2’ was not declared in this scope Simon