aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/uapi/asm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/include/uapi/asm')
-rw-r--r--arch/powerpc/include/uapi/asm/ptrace.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/arch/powerpc/include/uapi/asm/ptrace.h b/arch/powerpc/include/uapi/asm/ptrace.h
index 5a4863c76b5f..66b9ca4ee94a 100644
--- a/arch/powerpc/include/uapi/asm/ptrace.h
+++ b/arch/powerpc/include/uapi/asm/ptrace.h
@@ -147,34 +147,34 @@ struct pt_regs {
147 * structures. This also simplifies the implementation of a bi-arch 147 * structures. This also simplifies the implementation of a bi-arch
148 * (combined (32- and 64-bit) gdb. 148 * (combined (32- and 64-bit) gdb.
149 */ 149 */
150#define PTRACE_GETVRREGS 18 150#define PTRACE_GETVRREGS 0x12
151#define PTRACE_SETVRREGS 19 151#define PTRACE_SETVRREGS 0x13
152 152
153/* Get/set all the upper 32-bits of the SPE registers, accumulator, and 153/* Get/set all the upper 32-bits of the SPE registers, accumulator, and
154 * spefscr, in one go */ 154 * spefscr, in one go */
155#define PTRACE_GETEVRREGS 20 155#define PTRACE_GETEVRREGS 0x14
156#define PTRACE_SETEVRREGS 21 156#define PTRACE_SETEVRREGS 0x15
157 157
158/* Get the first 32 128bit VSX registers */ 158/* Get the first 32 128bit VSX registers */
159#define PTRACE_GETVSRREGS 27 159#define PTRACE_GETVSRREGS 0x1b
160#define PTRACE_SETVSRREGS 28 160#define PTRACE_SETVSRREGS 0x1c
161 161
162/* 162/*
163 * Get or set a debug register. The first 16 are DABR registers and the 163 * Get or set a debug register. The first 16 are DABR registers and the
164 * second 16 are IABR registers. 164 * second 16 are IABR registers.
165 */ 165 */
166#define PTRACE_GET_DEBUGREG 25 166#define PTRACE_GET_DEBUGREG 0x19
167#define PTRACE_SET_DEBUGREG 26 167#define PTRACE_SET_DEBUGREG 0x1a
168 168
169/* (new) PTRACE requests using the same numbers as x86 and the same 169/* (new) PTRACE requests using the same numbers as x86 and the same
170 * argument ordering. Additionally, they support more registers too 170 * argument ordering. Additionally, they support more registers too
171 */ 171 */
172#define PTRACE_GETREGS 12 172#define PTRACE_GETREGS 0xc
173#define PTRACE_SETREGS 13 173#define PTRACE_SETREGS 0xd
174#define PTRACE_GETFPREGS 14 174#define PTRACE_GETFPREGS 0xe
175#define PTRACE_SETFPREGS 15 175#define PTRACE_SETFPREGS 0xf
176#define PTRACE_GETREGS64 22 176#define PTRACE_GETREGS64 0x16
177#define PTRACE_SETREGS64 23 177#define PTRACE_SETREGS64 0x17
178 178
179/* Calls to trace a 64bit program from a 32bit program */ 179/* Calls to trace a 64bit program from a 32bit program */
180#define PPC_PTRACE_PEEKTEXT_3264 0x95 180#define PPC_PTRACE_PEEKTEXT_3264 0x95