summaryrefslogtreecommitdiff
path: root/package/gdb/patches/patch-gdb_nat_ppc-linux_h
blob: 417ee4bddc5df9482f469f613a3961f016e4799b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- gdb-8.3.1.orig/gdb/nat/ppc-linux.h	2019-09-21 00:04:41.000000000 +0200
+++ gdb-8.3.1/gdb/nat/ppc-linux.h	2019-10-16 12:08:42.156039004 +0200
@@ -18,7 +18,9 @@
 #ifndef NAT_PPC_LINUX_H
 #define NAT_PPC_LINUX_H
 
+#define pt_regs uapi_pt_regs
 #include <asm/ptrace.h>
+#undef pt_regs
 #include <asm/cputable.h>
 
 /* This sometimes isn't defined.  */