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 when retregs() is called.



details:   https://anonhg.NetBSD.org/src/rev/07c8b63655cb
branches:  trunk
changeset: 768839:07c8b63655cb
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Sat Aug 27 21:16:15 2011 +0000

description:
Print when retregs() is called.

diffstat:

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

diffs (26 lines):

diff -r f4e08694a88f -r 07c8b63655cb sys/arch/usermode/usermode/machdep.c
--- a/sys/arch/usermode/usermode/machdep.c      Sat Aug 27 21:15:07 2011 +0000
+++ b/sys/arch/usermode/usermode/machdep.c      Sat Aug 27 21:16:15 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.15 2011/08/25 11:06:29 jmcneill Exp $ */
+/* $NetBSD: machdep.c,v 1.16 2011/08/27 21:16:15 reinoud Exp $ */
 
 /*-
  * Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.15 2011/08/25 11:06:29 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.16 2011/08/27 21:16:15 reinoud Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -134,6 +134,7 @@
 void
 setregs(struct lwp *l, struct exec_package *pack, vaddr_t stack)
 {
+printf("setregs called: lwp %p, exec package %p, stack %p\n", l, pack, (void *) stack);
 }
 
 void



Home | Main Index | Thread Index | Old Index