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 Split the two debug sections



details:   https://anonhg.NetBSD.org/src/rev/442032437746
branches:  trunk
changeset: 769633:442032437746
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Fri Sep 16 16:26:19 2011 +0000

description:
Split the two debug sections

diffstat:

 sys/arch/usermode/usermode/machdep.c |  13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diffs (43 lines):

diff -r 209b156141a4 -r 442032437746 sys/arch/usermode/usermode/machdep.c
--- a/sys/arch/usermode/usermode/machdep.c      Fri Sep 16 16:25:44 2011 +0000
+++ b/sys/arch/usermode/usermode/machdep.c      Fri Sep 16 16:26:19 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.31 2011/09/14 18:28:36 reinoud Exp $ */
+/* $NetBSD: machdep.c,v 1.32 2011/09/16 16:26:19 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.31 2011/09/14 18:28:36 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.32 2011/09/16 16:26:19 reinoud Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -144,6 +144,7 @@
 void
 sendsig_siginfo(const ksiginfo_t *ksi, const sigset_t *mask)
 {
+       panic("%s not implemented", __func__);
 }
 
 int
@@ -241,12 +242,12 @@
        ret = copyin(sp + 1, args, argsize);
 
 #if 0
-       int i;
        for (i = 0; i < nargs+4; i++)
                printf("stack[%02d] = %"PRIx32"\n", i, (uint) sp[i]);
-
-       for (i = 0; i < nargs; i++)
-               printf("arg[%02d] = %"PRIx32"\n", i, (uint) args[i]);
+#endif
+#if 0
+       for (int i = 0; i < nargs; i++)
+               printf("arg[%02d] = %"PRIx32", ", i, (uint) args[i]);
        printf("\n");
 #endif
 



Home | Main Index | Thread Index | Old Index