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 Disable the debug_fh code for now



details:   https://anonhg.NetBSD.org/src/rev/d8e784f94e18
branches:  trunk
changeset: 769179:d8e784f94e18
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Fri Sep 02 10:11:43 2011 +0000

description:
Disable the debug_fh code for now

diffstat:

 sys/arch/usermode/usermode/trap.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r 33e84bbb625a -r d8e784f94e18 sys/arch/usermode/usermode/trap.c
--- a/sys/arch/usermode/usermode/trap.c Fri Sep 02 07:13:28 2011 +0000
+++ b/sys/arch/usermode/usermode/trap.c Fri Sep 02 10:11:43 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: trap.c,v 1.16 2011/09/01 18:20:20 reinoud Exp $ */
+/* $NetBSD: trap.c,v 1.17 2011/09/02 10:11:43 reinoud Exp $ */
 
 /*-
  * Copyright (c) 2011 Reinoud Zandijk <reinoud%netbsd.org@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.16 2011/09/01 18:20:20 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.17 2011/09/02 10:11:43 reinoud Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -57,13 +57,13 @@
 bool pmap_fault(pmap_t pmap, vaddr_t va, vm_prot_t *atype);
 
 static stack_t sigstk;
-static int debug_fh;
 
 void
 startlwp(void *arg)
 {
 }
 
+//static int debug_fh;
 void
 setup_signal_handlers(void)
 {
@@ -83,7 +83,7 @@
        if (thunk_sigaltstack(&sigstk, 0) < 0)
                panic("can't set alternate stacksize : %d", errno);
 
-       debug_fh = thunk_open("/usr/sources/debug", O_RDWR | O_TRUNC | O_CREAT, 0666);
+//     debug_fh = thunk_open("/usr/sources/debug", O_RDWR | O_TRUNC | O_CREAT, 0666);
 }
 
 static struct trapframe kernel_tf;



Home | Main Index | Thread Index | Old Index