diff options
Diffstat (limited to 'arch/cris/kernel/ptrace.c')
-rw-r--r-- | arch/cris/kernel/ptrace.c | 58 |
1 files changed, 2 insertions, 56 deletions
diff --git a/arch/cris/kernel/ptrace.c b/arch/cris/kernel/ptrace.c index 3ccd20e85dce..b326023baab2 100644 --- a/arch/cris/kernel/ptrace.c +++ b/arch/cris/kernel/ptrace.c | |||
@@ -2,65 +2,11 @@ | |||
2 | * linux/arch/cris/kernel/ptrace.c | 2 | * linux/arch/cris/kernel/ptrace.c |
3 | * | 3 | * |
4 | * Parts taken from the m68k port. | 4 | * Parts taken from the m68k port. |
5 | * | 5 | * |
6 | * Copyright (c) 2000, 2001, 2002 Axis Communications AB | 6 | * Copyright (c) 2000, 2001, 2002 Axis Communications AB |
7 | * | 7 | * |
8 | * Authors: Bjorn Wesen | 8 | * Authors: Bjorn Wesen |
9 | * | 9 | * |
10 | * $Log: ptrace.c,v $ | ||
11 | * Revision 1.10 2004/09/22 11:50:01 orjanf | ||
12 | * * Moved get_reg/put_reg to arch-specific files. | ||
13 | * * Added functions to access debug registers (CRISv32). | ||
14 | * * Added support for PTRACE_SINGLESTEP (CRISv32). | ||
15 | * * Added S flag to CCS_MASK (CRISv32). | ||
16 | * | ||
17 | * Revision 1.9 2003/07/04 12:56:11 tobiasa | ||
18 | * Moved arch-specific code to arch-specific files. | ||
19 | * | ||
20 | * Revision 1.8 2003/04/09 05:20:47 starvik | ||
21 | * Merge of Linux 2.5.67 | ||
22 | * | ||
23 | * Revision 1.7 2002/11/27 08:42:34 starvik | ||
24 | * Argument to user_regs() is thread_info* | ||
25 | * | ||
26 | * Revision 1.6 2002/11/20 11:56:11 starvik | ||
27 | * Merge of Linux 2.5.48 | ||
28 | * | ||
29 | * Revision 1.5 2002/11/18 07:41:19 starvik | ||
30 | * Removed warning | ||
31 | * | ||
32 | * Revision 1.4 2002/11/11 12:47:28 starvik | ||
33 | * SYSCALL_TRACE has been moved to thread flags | ||
34 | * | ||
35 | * Revision 1.3 2002/02/05 15:37:18 bjornw | ||
36 | * * Add do_notify_resume (replaces do_signal in the callchain) | ||
37 | * * syscall_trace is now do_syscall_trace | ||
38 | * * current->ptrace flag PT_TRACESYS -> PT_SYSCALLTRACE | ||
39 | * * Keep track of the current->work.syscall_trace counter | ||
40 | * | ||
41 | * Revision 1.2 2001/12/18 13:35:20 bjornw | ||
42 | * Applied the 2.4.13->2.4.16 CRIS patch to 2.5.1 (is a copy of 2.4.15). | ||
43 | * | ||
44 | * Revision 1.8 2001/11/12 18:26:21 pkj | ||
45 | * Fixed compiler warnings. | ||
46 | * | ||
47 | * Revision 1.7 2001/09/26 11:53:49 bjornw | ||
48 | * PTRACE_DETACH works more simple in 2.4.10 | ||
49 | * | ||
50 | * Revision 1.6 2001/07/25 16:08:47 bjornw | ||
51 | * PTRACE_ATTACH bulk moved into arch-independent code in 2.4.7 | ||
52 | * | ||
53 | * Revision 1.5 2001/03/26 14:24:28 orjanf | ||
54 | * * Changed loop condition. | ||
55 | * * Added comment documenting non-standard ptrace behaviour. | ||
56 | * | ||
57 | * Revision 1.4 2001/03/20 19:44:41 bjornw | ||
58 | * Use the user_regs macro instead of thread.esp0 | ||
59 | * | ||
60 | * Revision 1.3 2000/12/18 23:45:25 bjornw | ||
61 | * Linux/CRIS first version | ||
62 | * | ||
63 | * | ||
64 | */ | 10 | */ |
65 | 11 | ||
66 | #include <linux/kernel.h> | 12 | #include <linux/kernel.h> |
@@ -85,7 +31,7 @@ extern int do_signal(int canrestart, struct pt_regs *regs); | |||
85 | 31 | ||
86 | 32 | ||
87 | void do_notify_resume(int canrestart, struct pt_regs *regs, | 33 | void do_notify_resume(int canrestart, struct pt_regs *regs, |
88 | __u32 thread_info_flags ) | 34 | __u32 thread_info_flags) |
89 | { | 35 | { |
90 | /* deal with pending signal delivery */ | 36 | /* deal with pending signal delivery */ |
91 | if (thread_info_flags & _TIF_SIGPENDING) | 37 | if (thread_info_flags & _TIF_SIGPENDING) |