Include asm/ptrace.h in aarch64-linux-nat.c
authorRamana Radhakrishnan <ramana.radhakrishnan@arm.com>
Thu, 22 May 2014 15:07:20 +0000 (16:07 +0100)
committerRamana Radhakrishnan <ramana.radhakrishnan@arm.com>
Thu, 22 May 2014 15:07:20 +0000 (16:07 +0100)
commit036cd38182bde32d8297b630cd5c861d53b8949e
tree9ae7cdf436980c4b9b2e8941e6475609be9c0f46
parentc77c1e42faf2b5e340ffa2adbf81587c9e76c246
Include asm/ptrace.h in aarch64-linux-nat.c

A recent change to glibc removed asm/ptrace.h from user.h for
AArch64. This meant that cross-native builds of gdb using trunk
glibc broke because aarch64-linux-nat.c because user_hwdebug_state
couldn't be found.

Fixed by including asm/ptrace.h like other ports.

2014-05-22  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

       * aarch64-linux-nat.c (asm/ptrace.h): Include.
gdb/ChangeLog
gdb/aarch64-linux-nat.c