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.
This commit is contained in:
Ramana Radhakrishnan 2014-05-22 16:07:20 +01:00
parent c77c1e42fa
commit 036cd38182
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* aarch64-linux-nat.c (asm/ptrace.h): Include.
2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* MAINTAINERS (Write After Approval): Move self back from

View File

@ -33,6 +33,7 @@
#include <sys/ptrace.h>
#include <sys/utsname.h>
#include <asm/ptrace.h>
#include "gregset.h"