On Wed, Dec 13, 2023 at 23:11:35 +0000, Andrius Varanavicius wrote: > Module Name: src > Committed By: andvar > Date: Wed Dec 13 23:11:35 UTC 2023 > > Modified Files: > src/sys/arch/sparc64/dev: vnet.c > src/sys/arch/sparc64/sparc64: netbsd32_machdep_13.c > > Log Message: > Add #ifdef DDB blocks around Debugger(); calls to make kernel build without > DDB.
May be use console_debugger() that from a quick look seems to do the right thing already (including db_fromconsole guard)? -uwe