patch-ptrace_h 445 B

12345678910111213141516
  1. --- strace-4.15.orig/ptrace.h 2016-08-30 02:48:36.000000000 +0200
  2. +++ strace-4.15/ptrace.h 2016-12-18 23:14:42.295800537 +0100
  3. @@ -55,7 +55,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