summaryrefslogtreecommitdiff
path: root/package/gdb-microblaze/patches/patch-gdb_common_linux-ptrace_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-12 22:40:46 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-09-12 22:40:59 +0200
commitd0ac419702c94bf2d2eda50b008613bac8149745 (patch)
treec5c4631cd19aca23abf9b76abf1ecf4d50ee6f93 /package/gdb-microblaze/patches/patch-gdb_common_linux-ptrace_h
parent9dcf0c59a384703891da3a65ce3df4742b5e7b4f (diff)
gdb: decouple toolchain and package, add special package for microblaze, looks cleaner to me
Diffstat (limited to 'package/gdb-microblaze/patches/patch-gdb_common_linux-ptrace_h')
-rw-r--r--package/gdb-microblaze/patches/patch-gdb_common_linux-ptrace_h12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/gdb-microblaze/patches/patch-gdb_common_linux-ptrace_h b/package/gdb-microblaze/patches/patch-gdb_common_linux-ptrace_h
new file mode 100644
index 000000000..51e2c3637
--- /dev/null
+++ b/package/gdb-microblaze/patches/patch-gdb_common_linux-ptrace_h
@@ -0,0 +1,12 @@
+* added from https://github.com/rofl0r/sabotage
+
+--- gdb-7.6.orig/gdb/common/linux-ptrace.h 2013-01-01 07:32:54.000000000 +0100
++++ gdb-7.6/gdb/common/linux-ptrace.h 2013-08-13 17:10:13.000000000 +0200
+@@ -20,6 +20,7 @@
+
+ struct buffer;
+
++#include <unistd.h>
+ #include <sys/ptrace.h>
+
+ #ifndef PTRACE_GETSIGINFO