aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64/ptrace.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sparc64/ptrace.h')
-rw-r--r--include/asm-sparc64/ptrace.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/asm-sparc64/ptrace.h b/include/asm-sparc64/ptrace.h
index 7eba90c6c753..734a767f0a4e 100644
--- a/include/asm-sparc64/ptrace.h
+++ b/include/asm-sparc64/ptrace.h
@@ -95,8 +95,6 @@ struct sparc_trapf {
95 95
96#ifdef __KERNEL__ 96#ifdef __KERNEL__
97 97
98#define __ARCH_SYS_PTRACE 1
99
100#define force_successful_syscall_return() \ 98#define force_successful_syscall_return() \
101do { current_thread_info()->syscall_noerror = 1; \ 99do { current_thread_info()->syscall_noerror = 1; \
102} while (0) 100} while (0)
@@ -261,8 +259,6 @@ extern void show_regs(struct pt_regs *);
261#define SF_XXARG 0x5c 259#define SF_XXARG 0x5c
262 260
263/* Stuff for the ptrace system call */ 261/* Stuff for the ptrace system call */
264#define PTRACE_SUNATTACH 10
265#define PTRACE_SUNDETACH 11
266#define PTRACE_GETREGS 12 262#define PTRACE_GETREGS 12
267#define PTRACE_SETREGS 13 263#define PTRACE_SETREGS 13
268#define PTRACE_GETFPREGS 14 264#define PTRACE_GETFPREGS 14
@@ -284,18 +280,4 @@ extern void show_regs(struct pt_regs *);
284#define PTRACE_GETFPREGS64 25 280#define PTRACE_GETFPREGS64 25
285#define PTRACE_SETFPREGS64 26 281#define PTRACE_SETFPREGS64 26
286 282
287#define PTRACE_GETUCODE 29 /* stupid bsd-ism */
288
289/* These are for 32-bit processes debugging 64-bit ones.
290 * Here addr and addr2 are passed in %g2 and %g3 respectively.
291 */
292#define PTRACE_PEEKTEXT64 (30 + PTRACE_PEEKTEXT)
293#define PTRACE_POKETEXT64 (30 + PTRACE_POKETEXT)
294#define PTRACE_PEEKDATA64 (30 + PTRACE_PEEKDATA)
295#define PTRACE_POKEDATA64 (30 + PTRACE_POKEDATA)
296#define PTRACE_READDATA64 (30 + PTRACE_READDATA)
297#define PTRACE_WRITEDATA64 (30 + PTRACE_WRITEDATA)
298#define PTRACE_READTEXT64 (30 + PTRACE_READTEXT)
299#define PTRACE_WRITETEXT64 (30 + PTRACE_WRITETEXT)
300
301#endif /* !(_SPARC64_PTRACE_H) */ 283#endif /* !(_SPARC64_PTRACE_H) */