This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [OBV][PATCH] Fix Arm build


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]