Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [OBV][PATCH] Fix Arm build
@ 2019-03-26 11:43 Alan Hayward
  2019-03-26 17:03 ` Simon Marchi
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Hayward @ 2019-03-26 11:43 UTC (permalink / raw)
  To: gdb-patches; +Cc: nd, Alan Hayward

[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"
-- 
2.20.1 (Apple Git-117)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [OBV][PATCH] Fix Arm build
  2019-03-26 11:43 [OBV][PATCH] Fix Arm build Alan Hayward
@ 2019-03-26 17:03 ` Simon Marchi
  2019-03-26 17:14   ` Alan Hayward
  0 siblings, 1 reply; 3+ messages in thread
From: Simon Marchi @ 2019-03-26 17:03 UTC (permalink / raw)
  To: Alan Hayward, gdb-patches; +Cc: nd

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [OBV][PATCH] Fix Arm build
  2019-03-26 17:03 ` Simon Marchi
@ 2019-03-26 17:14   ` Alan Hayward
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Hayward @ 2019-03-26 17:14 UTC (permalink / raw)
  To: Simon Marchi; +Cc: gdb-patches, nd



> 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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-03-26 17:14 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-26 11:43 [OBV][PATCH] Fix Arm build Alan Hayward
2019-03-26 17:03 ` Simon Marchi
2019-03-26 17:14   ` Alan Hayward

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox