diff options
author | marcel <marcel@FreeBSD.org> | 2004-07-10 21:47:53 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2004-07-10 21:47:53 +0000 |
commit | c20ced5cd2addb28ba6e7b3edfc3b473021124fa (patch) | |
tree | 4388678e8ea363fc8be267ae24e67a7f7fd7386a /sys/pci | |
parent | fdfd8c5336e229e2487b1c498b0934230ff167b6 (diff) | |
download | FreeBSD-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.c | 3 |
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 |