Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Eduardo Horvath <eeh@netbsd.org>
List: source-changes
Date: 09/28/2000 21:54:39
Module Name:	syssrc
Committed By:	eeh
Date:		Thu Sep 28 18:54:39 UTC 2000

Modified Files:
	syssrc/sys/arch/sparc64/sparc64: db_interface.c

Log Message:
Fix the `trap type 0x10' problem.  Apparently, something has changed and
now makes use of lockmgr().  Since we broke into the debugger from an interrupt,
we don't have a curproc, so when lockmgr() tries to find our PID it barfs,
causing another break into DDB which then calls the mysterious code that
calls lockmgr() again.....

So set doing_shutdown while we're in DDB so lockmgr ignores locks.


To generate a diff of this commit:
cvs rdiff -r1.43 -r1.44 syssrc/sys/arch/sparc64/sparc64/db_interface.c

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