Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Steve Woodford <scw@netbsd.org>
List: source-changes
Date: 08/08/2000 11:26:21
Module Name: syssrc
Committed By: scw
Date: Tue Aug 8 08:26:21 UTC 2000
Modified Files:
syssrc/sys/arch/mvme68k/mvme68k: 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...
[Note: This change was prematurely committed to the 1.5 branch by
mistake. Since it would've been pulled up anyway, I won't
be sending a pullup request.]
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 syssrc/sys/arch/mvme68k/mvme68k/db_memrw.c
cvs rdiff -r1.69 -r1.70 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.