Module Name: src Committed By: reinoud Date: Fri Sep 2 10:11:43 UTC 2011
Modified Files: src/sys/arch/usermode/usermode: trap.c Log Message: Disable the debug_fh code for now To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/arch/usermode/usermode/trap.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/usermode/usermode/trap.c diff -u src/sys/arch/usermode/usermode/trap.c:1.16 src/sys/arch/usermode/usermode/trap.c:1.17 --- src/sys/arch/usermode/usermode/trap.c:1.16 Thu Sep 1 18:20:20 2011 +++ src/sys/arch/usermode/usermode/trap.c Fri Sep 2 10:11:43 2011 @@ -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 <rein...@netbsd.org> @@ -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;