package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / gdb / 7.7.1 / 0002-Include-asm-ptrace.h-in-aarch64-linux-nat.c.patch
blobccca8cbb0782f8d465310e15c397be1b158605d5
1 From 9c45794265a9dc9aebfbdc520d378dfc8fb7b694 Mon Sep 17 00:00:00 2001
2 From: Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3 Date: Thu, 22 May 2014 16:07:20 +0100
4 Subject: [PATCH] Include asm/ptrace.h in aarch64-linux-nat.c
6 A recent change to glibc removed asm/ptrace.h from user.h for
7 AArch64. This meant that cross-native builds of gdb using trunk
8 glibc broke because aarch64-linux-nat.c because user_hwdebug_state
9 couldn't be found.
11 Fixed by including asm/ptrace.h like other ports.
13 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
15 * aarch64-linux-nat.c (asm/ptrace.h): Include.
17 [Romain: rebase on top of 7.7.1]
18 Signed-off-by: Romain Naour <romain.naour@openwide.fr>
19 ---
20 gdb/aarch64-linux-nat.c | 1 +
21 1 file changed, 1 insertion(+)
23 diff --git a/gdb/aarch64-linux-nat.c b/gdb/aarch64-linux-nat.c
24 index 31c26c6..710aa9b 100644
25 --- a/gdb/aarch64-linux-nat.c
26 +++ b/gdb/aarch64-linux-nat.c
27 @@ -33,6 +33,7 @@
29 #include <sys/ptrace.h>
30 #include <sys/utsname.h>
31 +#include <asm/ptrace.h>
33 #include "gregset.h"
35 --
36 1.9.3