This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [OBV][PATCH] Fix Arm build
- From: Simon Marchi <simark at simark dot ca>
- To: Alan Hayward <Alan dot Hayward at arm dot com>, "gdb-patches at sourceware dot org" <gdb-patches at sourceware dot org>
- Cc: nd <nd at arm dot com>
- Date: Tue, 26 Mar 2019 13:03:38 -0400
- Subject: Re: [OBV][PATCH] Fix Arm build
- References: <20190326114239.34311-1-alan.hayward@arm.com>
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