summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2004-07-10 21:47:53 +0000
committermarcel <marcel@FreeBSD.org>2004-07-10 21:47:53 +0000
commitc20ced5cd2addb28ba6e7b3edfc3b473021124fa (patch)
tree4388678e8ea363fc8be267ae24e67a7f7fd7386a /sys/pci
parentfdfd8c5336e229e2487b1c498b0934230ff167b6 (diff)
downloadFreeBSD-src-c20ced5cd2addb28ba6e7b3edfc3b473021124fa.zip
FreeBSD-src-c20ced5cd2addb28ba6e7b3edfc3b473021124fa.tar.gz
Update for the KDB framework:
o Call kdb_enter() instead of Debugger().
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/ncr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c
index 135f81e..5368c65 100644
--- a/sys/pci/ncr.c
+++ b/sys/pci/ncr.c
@@ -179,6 +179,7 @@ __FBSDID("$FreeBSD$");
#ifdef _KERNEL
#include <sys/systm.h>
#include <sys/malloc.h>
+#include <sys/kdb.h>
#include <sys/kernel.h>
#include <sys/module.h>
#include <sys/sysctl.h>
@@ -256,7 +257,7 @@ __FBSDID("$FreeBSD$");
(void)printf("assertion \"%s\" failed: " \
"file \"%s\", line %d\n", \
#expression, __FILE__, __LINE__); \
- Debugger(""); \
+ kdb_enter(""); \
} \
}
#else
OpenPOWER on IntegriCloud