patch-util_c 550 B

1234567891011121314151617181920
  1. --- strace-4.8.orig/util.c 2013-05-06 20:23:01.000000000 +0200
  2. +++ strace-4.8/util.c 2013-10-25 14:54:06.000000000 +0200
  3. @@ -47,17 +47,6 @@
  4. #ifdef HAVE_SYS_REG_H
  5. # include <sys/reg.h>
  6. # define PTRACE_PEEKUSR PTRACE_PEEKUSER
  7. -#elif defined(HAVE_LINUX_PTRACE_H)
  8. -# undef PTRACE_SYSCALL
  9. -# ifdef HAVE_STRUCT_IA64_FPREG
  10. -# define ia64_fpreg XXX_ia64_fpreg
  11. -# endif
  12. -# ifdef HAVE_STRUCT_PT_ALL_USER_REGS
  13. -# define pt_all_user_regs XXX_pt_all_user_regs
  14. -# endif
  15. -# include <linux/ptrace.h>
  16. -# undef ia64_fpreg
  17. -# undef pt_all_user_regs
  18. #endif
  19. int