patch-ptrace_h 445 B

12345678910111213141516
  1. --- strace-4.11.orig/ptrace.h 2015-12-17 18:56:48.000000000 +0100
  2. +++ strace-4.11/ptrace.h 2016-04-29 17:47:49.000000000 +0200
  3. @@ -52,7 +52,13 @@ extern long ptrace(int, int, char *, lon
  4. # define ptrace_peeksiginfo_args XXX_ptrace_peeksiginfo_args
  5. #endif
  6. +#if defined(POWERPC)
  7. +#define pt_regs uapi_pt_regs
  8. +#endif
  9. #include <linux/ptrace.h>
  10. +#if defined(POWERPC)
  11. +#undef pt_regs
  12. +#endif
  13. #ifdef HAVE_STRUCT_IA64_FPREG
  14. # undef ia64_fpreg