]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a new 'why' argument to kdb_enter(), and a set of constants to use
authorRobert Watson <rwatson@FreeBSD.org>
Tue, 25 Dec 2007 17:52:02 +0000 (17:52 +0000)
committerRobert Watson <rwatson@FreeBSD.org>
Tue, 25 Dec 2007 17:52:02 +0000 (17:52 +0000)
commit3de213cc00f2889d2cd693968fd38c10a7f5def1
treeae45f86ab6fb75519ba2d9dbc206616dba84cc13
parent6862d27ecd3a641713fe08d9572a27bf218cc8d9
Add a new 'why' argument to kdb_enter(), and a set of constants to use
for that argument.  This will allow DDB to detect the broad category of
reason why the debugger has been entered, which it can use for the
purposes of deciding which DDB script to run.

Assign approximate why values to all current consumers of the
kdb_enter() interface.
33 files changed:
sys/amd64/amd64/machdep.c
sys/amd64/amd64/mp_watchdog.c
sys/arm/at91/uart_dev_at91usart.c
sys/cam/scsi/scsi_low.h
sys/compat/ndis/subr_ntoskrnl.c
sys/dev/acpica/Osd/OsdDebug.c
sys/dev/dcons/dcons_os.c
sys/dev/ofw/ofw_console.c
sys/dev/sio/sio.c
sys/dev/syscons/syscons.c
sys/dev/uart/uart_core.c
sys/fs/unionfs/union_subr.c
sys/i386/i386/machdep.c
sys/i386/i386/mp_watchdog.c
sys/ia64/ia64/machdep.c
sys/kern/kern_clock.c
sys/kern/kern_shutdown.c
sys/kern/subr_kdb.c
sys/kern/subr_witness.c
sys/kern/vfs_subr.c
sys/netgraph/ng_base.c
sys/pc98/cbus/sio.c
sys/pc98/pc98/machdep.c
sys/powerpc/aim/machdep.c
sys/powerpc/powermac/pswitch.c
sys/security/mac_test/mac_test.c
sys/sparc64/pci/psycho.c
sys/sparc64/sparc64/machdep.c
sys/sparc64/sparc64/trap.c
sys/sun4v/sun4v/hvcons.c
sys/sun4v/sun4v/machdep.c
sys/sun4v/sun4v/trap.c
sys/sys/kdb.h