patch-1.3.12 linux/arch/alpha/kernel/signal.c

Next file: linux/arch/alpha/kernel/traps.c
Previous file: linux/arch/alpha/kernel/setup.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.11/linux/arch/alpha/kernel/signal.c linux/arch/alpha/kernel/signal.c
@@ -214,6 +214,9 @@
 	unsigned long pc = 0;
 	unsigned long signr;
 	struct sigaction * sa;
+	extern ptrace_cancel_bpt (struct task_struct *child);
+
+	ptrace_cancel_bpt(current);	/* make sure single-step bpt is gone */
 
 	while ((signr = current->signal & mask) != 0) {
 		signr = ffz(~signr);

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this