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