freebsd-dev/sys/amd64
Mike Smith 9959b1a882 Improved DDB_UNATTENDED behaviour. From the submitter:
There's something that's been bugging me for a while, so I decided to fix it.
FreeBSD now will DTRT WRT DDB and DDB_UNATTENDED (!debugger_on_panic), at least
in my opinion. The behavior change is such that:

	1. Nothing changes when debugger_on_panic != 0.
	2. When DDB_UNATTENDED (!debugger_on_panic), if a panic occurs, the
		machine will reboot. Also, if a trap occurs, the machine will
		panic and reboot, unlike how it broke to DDB before. HOWEVER,
		a trap inside DDB will not cause a panic, allowing full use
		of DDB without having to worry about the machine being stuck
		at a DDB prompt if something goes wrong during the day.
		Patches for this behavior follow my signature, and it would
		be a boon to anyone (like me) who uses DDB_UNATTENDED, but
		actually wants the machine to panic on a trap (otherwise,
		what's the use, if the machine causes a fatal trap rather than
		a true panic, of debugger_on_panic?). The changes cause no
		adverse behavior, but do involve two symbols becoming global

Submitted by:	Brian Feldman <green@unixhelp.org>
1998-12-28 23:03:00 +00:00
..
amd64 Improved DDB_UNATTENDED behaviour. From the submitter: 1998-12-28 23:03:00 +00:00
conf Pre 3.0 branch cleanup sos#1: wcd 1998-12-27 13:55:48 +00:00
include The "easy" fixes for compiling the kernel -Wunused: remove unreferenced static 1998-12-07 21:58:50 +00:00
isa Moved the declaration of another non-SMP variable into the non-SMP section. 1998-12-14 19:16:17 +00:00
pci Make the class code checks in function pci_cfgcheck less strict. 1997-12-20 09:04:25 +00:00
Makefile Make this ${.OBJDIR} and ${.CURDIR} aware. 1998-05-31 22:40:49 +00:00