9.1-PRERELEASE and entering kdb weirdness

Daniel Braniss danny at cs.huji.ac.il
Fri Aug 3 09:45:58 UTC 2012


Hi,
with 8,x an previous, I compile kernel with
	options 	KDB
	options 	DDB

	options 	ALT_BREAK_TO_DEBUGGER

and so hitting control+alt+escape would enter the debugger on the console,
or CR ~ ^b on the serial console.

the same config on 9.1, only if 
	sysctl debug.kdb.break_to_debugger=1
which allows BREAK on the serial, the control+alt+escape works on the console.

from NOTES:
# Options for serial drivers that support consoles:
options 	BREAK_TO_DEBUGGER	# A BREAK on a serial console goes to
					# ddb, if available.

can someone clarify?

cheers,
	danny




More information about the freebsd-hackers mailing list