Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/usermode/usermode Print the signal we are supposed ...



details:   https://anonhg.NetBSD.org/src/rev/991c46e81373
branches:  trunk
changeset: 772020:991c46e81373
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Tue Dec 13 20:59:20 2011 +0000

description:
Print the signal we are supposed to deliver!

diffstat:

 sys/arch/usermode/usermode/machdep.c |  14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r 4e4c354a3276 -r 991c46e81373 sys/arch/usermode/usermode/machdep.c
--- a/sys/arch/usermode/usermode/machdep.c      Tue Dec 13 20:58:47 2011 +0000
+++ b/sys/arch/usermode/usermode/machdep.c      Tue Dec 13 20:59:20 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.34 2011/12/12 19:57:12 reinoud Exp $ */
+/* $NetBSD: machdep.c,v 1.35 2011/12/13 20:59:20 reinoud Exp $ */
 
 /*-
  * Copyright (c) 2011 Reinoud Zandijk <reinoud%netbsd.org@localhost>
@@ -32,7 +32,7 @@
 #include "opt_urkelvisor.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.34 2011/12/12 19:57:12 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.35 2011/12/13 20:59:20 reinoud Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -144,6 +144,16 @@
 void
 sendsig_siginfo(const ksiginfo_t *ksi, const sigset_t *mask)
 {
+#if 1
+       printf("%s: ", __func__);
+       printf("flags %d, ", (int) ksi->ksi_flags);
+       printf("to lwp %d, signo %d, code %d, errno %d\n",
+               (int) ksi->ksi_lid,
+               ksi->ksi_signo,
+               ksi->ksi_code,
+               ksi->ksi_errno);
+#endif
+
        panic("%s not implemented", __func__);
 }
 



Home | Main Index | Thread Index | Old Index