patch-gdb_nat_ppc-linux_h 345 B

123456789101112
  1. --- gdb-7.11.orig/gdb/nat/ppc-linux.h 2016-02-10 04:19:39.000000000 +0100
  2. +++ gdb-7.11/gdb/nat/ppc-linux.h 2016-04-24 21:19:39.351474402 +0200
  3. @@ -18,7 +18,9 @@
  4. #ifndef PPC_LINUX_H
  5. #define PPC_LINUX_H 1
  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. */