diff options
-rw-r--r-- | arch/sh/kernel/ptrace_32.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/sh/kernel/ptrace_32.c b/arch/sh/kernel/ptrace_32.c index 81f999a672f6..668c81631c08 100644 --- a/arch/sh/kernel/ptrace_32.c +++ b/arch/sh/kernel/ptrace_32.c | |||
@@ -117,11 +117,7 @@ void user_enable_single_step(struct task_struct *child) | |||
117 | 117 | ||
118 | set_tsk_thread_flag(child, TIF_SINGLESTEP); | 118 | set_tsk_thread_flag(child, TIF_SINGLESTEP); |
119 | 119 | ||
120 | if (ptrace_get_breakpoints(child) < 0) | ||
121 | return; | ||
122 | |||
123 | set_single_step(child, pc); | 120 | set_single_step(child, pc); |
124 | ptrace_put_breakpoints(child); | ||
125 | } | 121 | } |
126 | 122 | ||
127 | void user_disable_single_step(struct task_struct *child) | 123 | void user_disable_single_step(struct task_struct *child) |