patch-defs_h 662 B

1234567891011121314151617181920212223
  1. --- strace-4.8.orig/defs.h 2013-05-14 16:10:42.000000000 +0200
  2. +++ strace-4.8/defs.h 2013-08-14 08:51:03.000000000 +0200
  3. @@ -162,7 +162,7 @@ extern char *stpcpy(char *dst, const cha
  4. # define ptrace xptrace
  5. # include <sys/ptrace.h>
  6. # undef ptrace
  7. -# ifdef POWERPC
  8. +# if defined(POWERPC) || defined(ARM)
  9. # define __KERNEL__
  10. # include <asm/ptrace.h>
  11. # undef __KERNEL__
  12. @@ -222,11 +222,6 @@ extern long ptrace(int, int, char *, lon
  13. # define PTRACE_EVENT_EXIT 6
  14. #endif
  15. -#if !defined(__GLIBC__)
  16. -# define PTRACE_PEEKUSER PTRACE_PEEKUSR
  17. -# define PTRACE_POKEUSER PTRACE_POKEUSR
  18. -#endif
  19. -
  20. #if USE_SEIZE
  21. # undef PTRACE_SEIZE
  22. # define PTRACE_SEIZE 0x4206