--- 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 +#undef pt_regs #include /* This sometimes isn't defined. */