X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fgdb%2F7.7.1%2F0002-Include-asm-ptrace.h-in-aarch64-linux-nat.c.patch;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fgdb%2F7.7.1%2F0002-Include-asm-ptrace.h-in-aarch64-linux-nat.c.patch;h=ccca8cbb0782f8d465310e15c397be1b158605d5;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/gdb/7.7.1/0002-Include-asm-ptrace.h-in-aarch64-linux-nat.c.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/gdb/7.7.1/0002-Include-asm-ptrace.h-in-aarch64-linux-nat.c.patch new file mode 100644 index 0000000..ccca8cb --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/gdb/7.7.1/0002-Include-asm-ptrace.h-in-aarch64-linux-nat.c.patch @@ -0,0 +1,37 @@ +From 9c45794265a9dc9aebfbdc520d378dfc8fb7b694 Mon Sep 17 00:00:00 2001 +From: Ramana Radhakrishnan +Date: Thu, 22 May 2014 16:07:20 +0100 +Subject: [PATCH] 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 + + * aarch64-linux-nat.c (asm/ptrace.h): Include. + +[Romain: rebase on top of 7.7.1] +Signed-off-by: Romain Naour +--- + gdb/aarch64-linux-nat.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/gdb/aarch64-linux-nat.c b/gdb/aarch64-linux-nat.c +index 31c26c6..710aa9b 100644 +--- a/gdb/aarch64-linux-nat.c ++++ b/gdb/aarch64-linux-nat.c +@@ -33,6 +33,7 @@ + + #include + #include ++#include + + #include "gregset.h" + +-- +1.9.3 +