aboutsummaryrefslogtreecommitdiffstats
path: root/main/gdb/aarch64-headers.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-12-05 17:53:50 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-12-05 18:33:32 +0000
commit046033e8e9ec264acd17a8373d28e0c2e9ea5c7b (patch)
tree34b699874447f339654e7aa5b1b19cdef3f28af6 /main/gdb/aarch64-headers.patch
parenta569a886be3b28124a84d1ff7377d7578096aacd (diff)
downloadaports-046033e8e9ec264acd17a8373d28e0c2e9ea5c7b.tar.bz2
aports-046033e8e9ec264acd17a8373d28e0c2e9ea5c7b.tar.xz
main/gdb: fix build on aarch64
Diffstat (limited to 'main/gdb/aarch64-headers.patch')
-rw-r--r--main/gdb/aarch64-headers.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/gdb/aarch64-headers.patch b/main/gdb/aarch64-headers.patch
new file mode 100644
index 0000000000..fc176d7711
--- /dev/null
+++ b/main/gdb/aarch64-headers.patch
@@ -0,0 +1,13 @@
+diff --git a/gdb/nat/aarch64-sve-linux-ptrace.h b/gdb/nat/aarch64-sve-linux-ptrace.h
+index 029e753..172ae39 100644
+--- a/gdb/nat/aarch64-sve-linux-ptrace.h
++++ b/gdb/nat/aarch64-sve-linux-ptrace.h
+@@ -20,7 +20,7 @@
+ #ifndef AARCH64_SVE_LINUX_PTRACE_H
+ #define AARCH64_SVE_LINUX_PTRACE_H
+
+-#include <asm/sigcontext.h>
++#include <signal.h>
+ #include <sys/utsname.h>
+ #include <sys/ptrace.h>
+ #include <asm/ptrace.h>