Include asm/ptrace.h for linux-aarch64-low.c
authorRamana Radhakrishnan <ramana.radhakrishnan@arm.com>
Fri, 23 May 2014 08:01:14 +0000 (09:01 +0100)
committerRamana Radhakrishnan <ramana.radhakrishnan@arm.com>
Fri, 23 May 2014 08:01:14 +0000 (09:01 +0100)
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.

gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-aarch64-low.c

index 81bd30efb7504ca843c780fa451e8ccb62c8e740..e591108d508e535933e7e4ad1040243266441003 100644 (file)
@@ -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.
index 033e79e43259b418e07ee271d34cf4b24a803180..6066e1503cbda18f5854faccfa5fd4f1de4145c6 100644 (file)
@@ -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"