diff options
author | Romain Naour <romain.naour@openwide.fr> | 2015-03-12 22:03:58 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-03-13 23:12:37 +0100 |
commit | e78027ff7e31f389a9a0ca959dfbe9639afa5615 (patch) | |
tree | cb41bdddea9fc5afd5d9f017a0bd1315cdb9bce7 /package/gdb | |
parent | a929b3c3b71a2188f5af87d6e5c2e1a3c4688660 (diff) | |
download | buildroot-e78027ff7e31f389a9a0ca959dfbe9639afa5615.tar.gz buildroot-e78027ff7e31f389a9a0ca959dfbe9639afa5615.zip |
package/gdb: fix build with glibc 2.20
Backport a patch from gdb 7.8.
Fixes:
http://autobuild.buildroot.net/results/3d5/3d5cb8bea0964f0d46733e47d04a053021e63643/
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/gdb')
-rw-r--r-- | package/gdb/7.7.1/0001-Include-asm-ptrace.h-for-linux-aarch64-low.c.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/package/gdb/7.7.1/0001-Include-asm-ptrace.h-for-linux-aarch64-low.c.patch b/package/gdb/7.7.1/0001-Include-asm-ptrace.h-for-linux-aarch64-low.c.patch new file mode 100644 index 0000000000..89e34be452 --- /dev/null +++ b/package/gdb/7.7.1/0001-Include-asm-ptrace.h-for-linux-aarch64-low.c.patch @@ -0,0 +1,36 @@ +From cbc39812c1721d7edd20285134fdf748d0f26127 Mon Sep 17 00:00:00 2001 +From: Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> +Date: Fri, 23 May 2014 09:01:14 +0100 +Subject: [PATCH] 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. +[Romain: + - rebase on top of 7.7.1] +Signed-off-by: Romain Naour <romain.naour@openwide.fr> +--- + gdb/gdbserver/linux-aarch64-low.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/gdb/gdbserver/linux-aarch64-low.c b/gdb/gdbserver/linux-aarch64-low.c +index 1b0da6c..ba66bc8 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" +-- +1.9.3 + |