aboutsummaryrefslogtreecommitdiffstats
path: root/main/gdb/ppc-ptregs.patch
diff options
context:
space:
mode:
authorMike Sullivan <mksully@us.ibm.com>2018-02-02 16:38:39 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-02 17:25:17 +0000
commit2a03458d79a34d5768e1ccfdc4fa238d2585684f (patch)
tree566b85c5f7fd1df022ee23d70dcf97c92cfc71b4 /main/gdb/ppc-ptregs.patch
parentaab5eb9ab8e63c58675f32c9736f8508f3d215be (diff)
downloadaports-2a03458d79a34d5768e1ccfdc4fa238d2585684f.tar.bz2
aports-2a03458d79a34d5768e1ccfdc4fa238d2585684f.tar.xz
main/gdb: remove double definition of pt_regs structure during gdbserver build
Diffstat (limited to 'main/gdb/ppc-ptregs.patch')
-rw-r--r--main/gdb/ppc-ptregs.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/gdb/ppc-ptregs.patch b/main/gdb/ppc-ptregs.patch
new file mode 100644
index 0000000000..743bd2e6d2
--- /dev/null
+++ b/main/gdb/ppc-ptregs.patch
@@ -0,0 +1,10 @@
+--- a/gdb/gdbserver/linux-ppc-low.c
++++ b/gdb/gdbserver/linux-ppc-low.c
+@@ -21,7 +21,6 @@
+ #include "linux-low.h"
+
+ #include <elf.h>
+-#include <asm/ptrace.h>
+
+ #include "nat/ppc-linux.h"
+ #include "linux-ppc-tdesc.h"