git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branches 'stable/balloon.cleanup' and 'stable/general.cleanup' of git://git...
[pandora-kernel.git]
/
arch
/
sh
/
kernel
/
ptrace_32.c
diff --git
a/arch/sh/kernel/ptrace_32.c
b/arch/sh/kernel/ptrace_32.c
index
2130ca6
..
3d7b209
100644
(file)
--- a/
arch/sh/kernel/ptrace_32.c
+++ b/
arch/sh/kernel/ptrace_32.c
@@
-117,7
+117,11
@@
void user_enable_single_step(struct task_struct *child)
set_tsk_thread_flag(child, TIF_SINGLESTEP);
+ if (ptrace_get_breakpoints(child) < 0)
+ return;
+
set_single_step(child, pc);
+ ptrace_put_breakpoints(child);
}
void user_disable_single_step(struct task_struct *child)