The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / gdb / 7.7.1 / 0001-Include-asm-ptrace.h-for-linux-aarch64-low.c.patch
1 From cbc39812c1721d7edd20285134fdf748d0f26127 Mon Sep 17 00:00:00 2001
2 From: Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3 Date: Fri, 23 May 2014 09:01:14 +0100
4 Subject: [PATCH] Include asm/ptrace.h for linux-aarch64-low.c
5
6 A recent change to glibc removed asm/ptrace.h from user.h for AArch64.
7 This meant that cross-native builds of gdbserver using trunk glibc broke
8 because linux-aarch64-low.c because user_hwdebug_state couldn't be found.
9
10 This is like commit #036cd38182bde32d8297b630cd5c861d53b8949e
11
12 2014-05-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
13
14         * linux-aarch64-low.c (asm/ptrace.h): Include.
15 [Romain:
16   - rebase on top of 7.7.1]
17 Signed-off-by: Romain Naour <romain.naour@openwide.fr>
18 ---
19  gdb/gdbserver/linux-aarch64-low.c | 1 +
20  1 file changed, 1 insertion(+)
21
22 diff --git a/gdb/gdbserver/linux-aarch64-low.c b/gdb/gdbserver/linux-aarch64-low.c
23 index 1b0da6c..ba66bc8 100644
24 --- a/gdb/gdbserver/linux-aarch64-low.c
25 +++ b/gdb/gdbserver/linux-aarch64-low.c
26 @@ -26,6 +26,7 @@
27  #include <signal.h>
28  #include <sys/user.h>
29  #include <sys/ptrace.h>
30 +#include <asm/ptrace.h>
31  #include <sys/uio.h>
32  
33  #include "gdb_proc_service.h"
34 -- 
35 1.9.3
36