Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Steve Woodford <scw@netbsd.org>
List: source-changes
Date: 08/08/2000 11:17:29
Module Name:	syssrc
Committed By:	scw
Date:		Tue Aug  8 08:17:29 UTC 2000

Modified Files:
	syssrc/sys/arch/mvme68k/mvme68k [netbsd-1-5]: db_memrw.c machdep.c

Log Message:
Avoid calling printf() when we're either in DDB, or about to call
Debugger(). Use db_printf() instead.

This fixes a problem whereby it was impossible to enter the debugger
if the CPU was spinning in lockmgr() for the proclist lock, because
printf() calls logwakeup(), which eventually calls proclist_lock_read(),
which then spins in lockmgr() yet again...


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.4.26.1 syssrc/sys/arch/mvme68k/mvme68k/db_memrw.c
cvs rdiff -r1.67 -r1.67.2.1 syssrc/sys/arch/mvme68k/mvme68k/machdep.c

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