diff options
Diffstat (limited to 'arch/um/include/ptrace_user.h')
-rw-r--r-- | arch/um/include/ptrace_user.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/arch/um/include/ptrace_user.h b/arch/um/include/ptrace_user.h index f3450e6bc18d..4bce6e012889 100644 --- a/arch/um/include/ptrace_user.h +++ b/arch/um/include/ptrace_user.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2000, 2001, 2002 Jeff Dike (jdike@karaya.com) | 2 | * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) |
3 | * Licensed under the GPL | 3 | * Licensed under the GPL |
4 | */ | 4 | */ |
5 | 5 | ||
@@ -10,12 +10,6 @@ | |||
10 | 10 | ||
11 | extern int ptrace_getregs(long pid, unsigned long *regs_out); | 11 | extern int ptrace_getregs(long pid, unsigned long *regs_out); |
12 | extern int ptrace_setregs(long pid, unsigned long *regs_in); | 12 | extern int ptrace_setregs(long pid, unsigned long *regs_in); |
13 | extern int ptrace_getfpregs(long pid, unsigned long *regs_out); | ||
14 | extern int ptrace_setfpregs(long pid, unsigned long *regs); | ||
15 | extern void arch_enter_kernel(void *task, int pid); | ||
16 | extern void arch_leave_kernel(void *task, int pid); | ||
17 | extern void ptrace_pokeuser(unsigned long addr, unsigned long data); | ||
18 | |||
19 | 13 | ||
20 | /* syscall emulation path in ptrace */ | 14 | /* syscall emulation path in ptrace */ |
21 | 15 | ||
@@ -54,7 +48,8 @@ extern int sysemu_supported; | |||
54 | (((int[3][3] ) { \ | 48 | (((int[3][3] ) { \ |
55 | { PTRACE_SYSCALL, PTRACE_SYSCALL, PTRACE_SINGLESTEP }, \ | 49 | { PTRACE_SYSCALL, PTRACE_SYSCALL, PTRACE_SINGLESTEP }, \ |
56 | { PTRACE_SYSEMU, PTRACE_SYSEMU, PTRACE_SINGLESTEP }, \ | 50 | { PTRACE_SYSEMU, PTRACE_SYSEMU, PTRACE_SINGLESTEP }, \ |
57 | { PTRACE_SYSEMU, PTRACE_SYSEMU_SINGLESTEP, PTRACE_SYSEMU_SINGLESTEP }}) \ | 51 | { PTRACE_SYSEMU, PTRACE_SYSEMU_SINGLESTEP, \ |
52 | PTRACE_SYSEMU_SINGLESTEP } }) \ | ||
58 | [sysemu_mode][singlestep_mode]) | 53 | [sysemu_mode][singlestep_mode]) |
59 | 54 | ||
60 | #endif | 55 | #endif |