Revert "devel/strace: fix build on mpc85xx target"

This reverts commit 519a199cbc.

Multiple users have reported building failures on ARM architectures, e.g.:

    In file included from defs.h:42:0,
                     from process.c:37:
    process.c:51:22: error: 'struct user_regs' has no member named 'ARM_r0'
     #define uoff(member) offsetof(struct user, member)
                          ^
    ./linux/arm/userent.h:1:3: note: in expansion of macro 'uoff'
     { uoff(regs.ARM_r0), "r0" },
       ^

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2016-11-08 19:58:18 +01:00
parent 36cccbb283
commit 6649a172f2

View file

@ -1,14 +0,0 @@
--- a/ptrace.h
+++ b/ptrace.h
@@ -52,7 +52,10 @@ extern long ptrace(int, int, char *, long);
# define ptrace_peeksiginfo_args XXX_ptrace_peeksiginfo_args
#endif
+#include <linux/types.h>
+#define __ASSEMBLY__
#include <linux/ptrace.h>
+#undef __ASSEMBLY__
#ifdef HAVE_STRUCT_IA64_FPREG
# undef ia64_fpreg
--