Message ID | 20190326114239.34311-1-alan.hayward@arm.com |
---|---|
State | New, archived |
Headers |
Received: (qmail 99389 invoked by alias); 26 Mar 2019 11:43:16 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: <gdb-patches.sourceware.org> List-Unsubscribe: <mailto:gdb-patches-unsubscribe-##L=##H@sourceware.org> List-Subscribe: <mailto:gdb-patches-subscribe@sourceware.org> List-Archive: <http://sourceware.org/ml/gdb-patches/> List-Post: <mailto:gdb-patches@sourceware.org> List-Help: <mailto:gdb-patches-help@sourceware.org>, <http://sourceware.org/ml/#faqs> Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 98862 invoked by uid 89); 26 Mar 2019 11:43:15 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-25.2 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:741 X-HELO: EUR02-HE1-obe.outbound.protection.outlook.com Received: from mail-eopbgr10066.outbound.protection.outlook.com (HELO EUR02-HE1-obe.outbound.protection.outlook.com) (40.107.1.66) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 26 Mar 2019 11:43:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector1-arm-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HpID2Xl8KzFwmohzE9uRbdwfbfDRqoOqlQyPOHAcaxE=; b=fO2hATsfJVNpG8l/PpgX6Q676sB8Mg3+RDRNBIfOcgq/0oXQMAs48Rg95J1yyJgNBFDxZ9YlRJ1YUheOr9ZQhmDJocT6b6k+c0urOePZCKWt8uNPyf9lOYmpISa9SCaSO9Nw1cqn4RA6sTvD9tTK6fAHjBu8+bqAgVgQXF4hHMU= Received: from DB6PR0802MB2133.eurprd08.prod.outlook.com (10.172.227.22) by DB6PR0802MB2327.eurprd08.prod.outlook.com (10.172.229.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1750.15; Tue, 26 Mar 2019 11:43:10 +0000 Received: from DB6PR0802MB2133.eurprd08.prod.outlook.com ([fe80::2083:2d62:84fa:a547]) by DB6PR0802MB2133.eurprd08.prod.outlook.com ([fe80::2083:2d62:84fa:a547%3]) with mapi id 15.20.1730.019; Tue, 26 Mar 2019 11:43:10 +0000 From: Alan Hayward <Alan.Hayward@arm.com> To: "gdb-patches@sourceware.org" <gdb-patches@sourceware.org> CC: nd <nd@arm.com>, Alan Hayward <Alan.Hayward@arm.com> Subject: [OBV][PATCH] Fix Arm build Date: Tue, 26 Mar 2019 11:43:10 +0000 Message-ID: <20190326114239.34311-1-alan.hayward@arm.com> authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alan.Hayward@arm.com; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-IsSubscribed: yes |
Commit Message
Alan Hayward
March 26, 2019, 11:43 a.m. UTC
[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 <alan.hayward@arm.com> * arm-linux-nat.c: Add include. --- gdb/arm-linux-nat.c | 1 + 1 file changed, 1 insertion(+)
Comments
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 <alan.hayward@arm.com> > > * 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 <sys/procfs.h> > > #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
> On 26 Mar 2019, at 17:03, Simon Marchi <simark@simark.ca> wrote: > > 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 <alan.hayward@arm.com> >> >> * 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 <sys/procfs.h> >> >> #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 Will fix this too.... :( Alan.
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 <sys/procfs.h> #include "nat/linux-ptrace.h" +#include "linux-tdep.h" /* Prototypes for supply_gregset etc. */ #include "gregset.h"