diff options
author | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | 2014-05-22 16:07:20 +0100 |
---|---|---|
committer | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | 2014-05-22 16:07:20 +0100 |
commit | 036cd38182bde32d8297b630cd5c861d53b8949e (patch) | |
tree | 9ae7cdf436980c4b9b2e8941e6475609be9c0f46 /gdb | |
parent | c77c1e42faf2b5e340ffa2adbf81587c9e76c246 (diff) | |
download | gdb-036cd38182bde32d8297b630cd5c861d53b8949e.zip gdb-036cd38182bde32d8297b630cd5c861d53b8949e.tar.gz gdb-036cd38182bde32d8297b630cd5c861d53b8949e.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/aarch64-linux-nat.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ad4b693..2418b45 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 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 paper trail. diff --git a/gdb/aarch64-linux-nat.c b/gdb/aarch64-linux-nat.c index 28ad38b..877e702 100644 --- a/gdb/aarch64-linux-nat.c +++ b/gdb/aarch64-linux-nat.c @@ -33,6 +33,7 @@ #include <sys/ptrace.h> #include <sys/utsname.h> +#include <asm/ptrace.h> #include "gregset.h" |