Subject: CVS commit: [nathanw_sa] syssrc/sys/arch/mips/mips
To: None <source-changes@netbsd.org>
From: Gregory McGarry <gmcgarry@netbsd.org>
List: source-changes
Date: 02/10/2002 05:34:51
Module Name:	syssrc
Committed By:	gmcgarry
Date:		Sun Feb 10 03:34:50 UTC 2002

Modified Files:
	syssrc/sys/arch/mips/mips [nathanw_sa]: trap.c

Log Message:
stacktrace_subr() can be invoked from ddb before main() is called.
In this case curproc->l_proc is undefined.  Kludge around it by
checking for both curproc != NULL and curproc->l_proc != NULL.


To generate a diff of this commit:
cvs rdiff -r1.165.2.3 -r1.165.2.4 syssrc/sys/arch/mips/mips/trap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.