summaryrefslogtreecommitdiff
path: root/package/gdb/patches/patch-gdb_nat_ppc-linux_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/patches/patch-gdb_nat_ppc-linux_h
parent9dcf0c59a384703891da3a65ce3df4742b5e7b4f (diff)
gdb: decouple toolchain and package, add special package for microblaze, looks cleaner to me
Diffstat (limited to 'package/gdb/patches/patch-gdb_nat_ppc-linux_h')
-rw-r--r--package/gdb/patches/patch-gdb_nat_ppc-linux_h12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/gdb/patches/patch-gdb_nat_ppc-linux_h b/package/gdb/patches/patch-gdb_nat_ppc-linux_h
new file mode 100644
index 000000000..20929b4cf
--- /dev/null
+++ b/package/gdb/patches/patch-gdb_nat_ppc-linux_h
@@ -0,0 +1,12 @@
+--- gdb-7.11.orig/gdb/nat/ppc-linux.h 2016-02-10 04:19:39.000000000 +0100
++++ gdb-7.11/gdb/nat/ppc-linux.h 2016-04-24 21:19:39.351474402 +0200
+@@ -18,7 +18,9 @@
+ #ifndef PPC_LINUX_H
+ #define PPC_LINUX_H 1
+
++#define pt_regs uapi_pt_regs
+ #include <asm/ptrace.h>
++#undef pt_regs
+ #include <asm/cputable.h>
+
+ /* This sometimes isn't defined. */