Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern don't delete signal from the debugger.
details: https://anonhg.NetBSD.org/src/rev/e07a36323b10
branches: trunk
changeset: 769258:e07a36323b10
user: christos <christos%NetBSD.org@localhost>
date: Sun Sep 04 23:03:00 2011 +0000
description:
don't delete signal from the debugger.
diffstat:
sys/kern/kern_sig.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 59c8c9d2fdf6 -r e07a36323b10 sys/kern/kern_sig.c
--- a/sys/kern/kern_sig.c Sun Sep 04 21:28:02 2011 +0000
+++ b/sys/kern/kern_sig.c Sun Sep 04 23:03:00 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_sig.c,v 1.314 2011/09/04 13:09:12 christos Exp $ */
+/* $NetBSD: kern_sig.c,v 1.315 2011/09/04 23:03:00 christos Exp $ */
/*-
* Copyright (c) 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -70,7 +70,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_sig.c,v 1.314 2011/09/04 13:09:12 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_sig.c,v 1.315 2011/09/04 23:03:00 christos Exp $");
#include "opt_ptrace.h"
#include "opt_compat_sunos.h"
@@ -1868,7 +1868,8 @@
* siginfo queue, because the debugger can send
* it later.
*/
- sigdelset(&sp->sp_set, signo);
+ if (sp)
+ sigdelset(&sp->sp_set, signo);
p->p_xstat = signo;
/* Emulation-specific handling of signal trace */
Home |
Main Index |
Thread Index |
Old Index