diff options
author | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | 2014-05-23 09:01:14 +0100 |
---|---|---|
committer | Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | 2014-05-23 09:01:14 +0100 |
commit | e9dae05e9c32efda9724330c6d5ade3ca848591d (patch) | |
tree | b8bf341eb1cdc6d3a8201d6fd1707f2beb2ff233 /gdb | |
parent | 589fdceb99db9868e34bc976b7e234dbfaf327e2 (diff) | |
download | gdb-e9dae05e9c32efda9724330c6d5ade3ca848591d.zip gdb-e9dae05e9c32efda9724330c6d5ade3ca848591d.tar.gz gdb-e9dae05e9c32efda9724330c6d5ade3ca848591d.tar.bz2 |
Include asm/ptrace.h for linux-aarch64-low.c
A recent change to glibc removed asm/ptrace.h from user.h for AArch64.
This meant that cross-native builds of gdbserver using trunk glibc broke
because linux-aarch64-low.c because user_hwdebug_state couldn't be found.
This is like commit #036cd38182bde32d8297b630cd5c861d53b8949e
2014-05-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* linux-aarch64-low.c (asm/ptrace.h): Include.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gdbserver/linux-aarch64-low.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 81bd30e..e591108 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2014-05-23 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> + + * linux-aarch64-low.c (asm/ptrace.h): Include. + 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com> Fix TLS access for -static -pthread. diff --git a/gdb/gdbserver/linux-aarch64-low.c b/gdb/gdbserver/linux-aarch64-low.c index 033e79e..6066e15 100644 --- a/gdb/gdbserver/linux-aarch64-low.c +++ b/gdb/gdbserver/linux-aarch64-low.c @@ -26,6 +26,7 @@ #include <signal.h> #include <sys/user.h> #include <sys/ptrace.h> +#include <asm/ptrace.h> #include <sys/uio.h> #include "gdb_proc_service.h" |