From 2f778b09cfdc06c259c738ae312a8fa0aecac53a Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Thu, 15 Oct 2009 11:32:25 +0200 Subject: [PATCH] --- yaml --- r: 176123 b: refs/heads/master c: a01523cdcd2439b553086127be3d30ac9c3cb651 h: refs/heads/master i: 176121: 188cab6783be48ff9442190f2945ec194f0c88cf 176119: 7544bf7d1e12d8fa79e6e5741577650dd18a45c3 v: v3 --- [refs] | 2 +- trunk/arch/microblaze/kernel/signal.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 9ad34816a6cc..2862982110ef 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e051af576a414b6fcfe6589e99b2357522718050 +refs/heads/master: a01523cdcd2439b553086127be3d30ac9c3cb651 diff --git a/trunk/arch/microblaze/kernel/signal.c b/trunk/arch/microblaze/kernel/signal.c index 1c80e4fc40ce..0c96ac34c316 100644 --- a/trunk/arch/microblaze/kernel/signal.c +++ b/trunk/arch/microblaze/kernel/signal.c @@ -233,6 +233,10 @@ static void setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info, set_fs(USER_DS); + /* the tracer may want to single-step inside the handler */ + if (test_thread_flag(TIF_SINGLESTEP)) + ptrace_notify(SIGTRAP); + #ifdef DEBUG_SIG printk(KERN_INFO "SIG deliver (%s:%d): sp=%p pc=%08lx\n", current->comm, current->pid, frame, regs->pc);