patch-gdb_nat_ppc-linux_h 353 B

123456789101112
  1. --- gdb-8.3.1.orig/gdb/nat/ppc-linux.h 2019-09-21 00:04:41.000000000 +0200
  2. +++ gdb-8.3.1/gdb/nat/ppc-linux.h 2019-10-16 12:08:42.156039004 +0200
  3. @@ -18,7 +18,9 @@
  4. #ifndef NAT_PPC_LINUX_H
  5. #define NAT_PPC_LINUX_H
  6. +#define pt_regs uapi_pt_regs
  7. #include <asm/ptrace.h>
  8. +#undef pt_regs
  9. #include <asm/cputable.h>
  10. /* This sometimes isn't defined. */