From bdee30611dab246a5227856892385a02c7352f12 Mon Sep 17 00:00:00 2001 From: rwatson Date: Tue, 25 Dec 2007 17:52:02 +0000 Subject: 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. --- sys/cam/scsi/scsi_low.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/cam/scsi') diff --git a/sys/cam/scsi/scsi_low.h b/sys/cam/scsi/scsi_low.h index 4dfa602..8d6dbed 100644 --- a/sys/cam/scsi/scsi_low.h +++ b/sys/cam/scsi/scsi_low.h @@ -87,7 +87,7 @@ #ifdef __FreeBSD__ #undef MSG_IDENTIFY -#define SCSI_LOW_DEBUGGER(dev) kdb_enter(dev) +#define SCSI_LOW_DEBUGGER(dev) kdb_enter(KDB_WHY_CAM, dev) #define SCSI_LOW_DELAY(mu) DELAY((mu)) #define SCSI_LOW_SPLSCSI splcam #define SCSI_LOW_BZERO(pt, size) bzero((pt), (size)) -- cgit v1.1