diff options
Diffstat (limited to 'arch/microblaze/kernel/signal.c')
-rw-r--r-- | arch/microblaze/kernel/signal.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/microblaze/kernel/signal.c b/arch/microblaze/kernel/signal.c index 1c80e4fc40ce..0c96ac34c316 100644 --- a/arch/microblaze/kernel/signal.c +++ b/arch/microblaze/kernel/signal.c | |||
@@ -233,6 +233,10 @@ static void setup_rt_frame(int sig, struct k_sigaction *ka, siginfo_t *info, | |||
233 | 233 | ||
234 | set_fs(USER_DS); | 234 | set_fs(USER_DS); |
235 | 235 | ||
236 | /* the tracer may want to single-step inside the handler */ | ||
237 | if (test_thread_flag(TIF_SINGLESTEP)) | ||
238 | ptrace_notify(SIGTRAP); | ||
239 | |||
236 | #ifdef DEBUG_SIG | 240 | #ifdef DEBUG_SIG |
237 | printk(KERN_INFO "SIG deliver (%s:%d): sp=%p pc=%08lx\n", | 241 | printk(KERN_INFO "SIG deliver (%s:%d): sp=%p pc=%08lx\n", |
238 | current->comm, current->pid, frame, regs->pc); | 242 | current->comm, current->pid, frame, regs->pc); |