From 71dd7f7454d7f3d005c6eceb94b284891c69fa72 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Thu, 3 Nov 2011 21:56:42 +0100 Subject: [PATCH] Fix tapset/powerpc/aux_syscalls.stp for older ppc kernels. Define missing PTRACE constants if necessary. --- tapset/powerpc/aux_syscalls.stp | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/tapset/powerpc/aux_syscalls.stp b/tapset/powerpc/aux_syscalls.stp index bc4f869e9..0b68ca11a 100644 --- a/tapset/powerpc/aux_syscalls.stp +++ b/tapset/powerpc/aux_syscalls.stp @@ -10,6 +10,33 @@ #ifndef PPC_PTRACE_DELHWDEBUG # define PPC_PTRACE_DELHWDEBUG 0x87 #endif +#ifndef PTRACE_GETVSRREGS +# define PTRACE_GETVSRREGS 27 +#endif +#ifndef PTRACE_SETVSRREGS +# define PTRACE_SETVSRREGS 28 +#endif +#ifndef PTRACE_GETREGS +# define PTRACE_GETREGS 12 +#endif +#ifndef PTRACE_SETREGS +# define PTRACE_SETREGS 13 +#endif +#ifndef PTRACE_GETFPREGS +# define PTRACE_GETFPREGS 14 +#endif +#ifndef PTRACE_SETFPREGS +# define PTRACE_SETFPREGS 15 +#endif +#ifndef PTRACE_GETREGS64 +# define PTRACE_GETREGS64 22 +#endif +#ifndef PTRACE_SETREGS64 +# define PTRACE_SETREGS64 23 +#endif +#ifndef PTRACE_SINGLEBLOCK +# define PTRACE_SINGLEBLOCK 0x100 +#endif %} function _arch_ptrace_argstr(request, pid, addr, data) { -- 2.43.5