diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 2004-07-10 21:21:13 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2004-07-10 21:21:13 +0000 |
| commit | e2fb7a7be0c688b7b4bdce276aa105e6839bc4d7 (patch) | |
| tree | e5f30eb0dbab36b8f854df2e8125f5ed5e77986b /sys/dev/vinum | |
| parent | 4ea4f1f97ea5212549efbb882c2e8859b19b4254 (diff) | |
Notes
Diffstat (limited to 'sys/dev/vinum')
| -rw-r--r-- | sys/dev/vinum/vinumhdr.h | 1 | ||||
| -rw-r--r-- | sys/dev/vinum/vinuminterrupt.c | 2 | ||||
| -rw-r--r-- | sys/dev/vinum/vinumioctl.c | 2 | ||||
| -rw-r--r-- | sys/dev/vinum/vinummemory.c | 4 |
4 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/vinum/vinumhdr.h b/sys/dev/vinum/vinumhdr.h index e8161e81e0613..41178212420ea 100644 --- a/sys/dev/vinum/vinumhdr.h +++ b/sys/dev/vinum/vinumhdr.h @@ -44,6 +44,7 @@ #ifdef _KERNEL #include "opt_vinum.h" #include <sys/systm.h> +#include <sys/kdb.h> #include <sys/kernel.h> #include <sys/proc.h> #include <sys/conf.h> diff --git a/sys/dev/vinum/vinuminterrupt.c b/sys/dev/vinum/vinuminterrupt.c index 7344280ae9a5e..d031ef938fb44 100644 --- a/sys/dev/vinum/vinuminterrupt.c +++ b/sys/dev/vinum/vinuminterrupt.c @@ -210,7 +210,7 @@ complete_rqe(struct buf *bp) #ifdef VINUMDEBUG if (debug & DEBUG_RESID) { if (ubp->b_resid != 0) /* still something to transfer? */ - Debugger("resid"); + kdb_enter("resid"); } #endif diff --git a/sys/dev/vinum/vinumioctl.c b/sys/dev/vinum/vinumioctl.c index 1783c92345057..235b125d7e6ff 100644 --- a/sys/dev/vinum/vinumioctl.c +++ b/sys/dev/vinum/vinumioctl.c @@ -201,7 +201,7 @@ vinum_super_ioctl(struct cdev *dev, boothowto |= RB_GDB; /* serial debug line */ else boothowto &= ~RB_GDB; /* local ddb */ - Debugger("vinum debug"); + kdb_enter("vinum debug"); } ioctl_reply = (struct _ioctl_reply *) data; /* reinstate the address to reply to */ ioctl_reply->error = 0; diff --git a/sys/dev/vinum/vinummemory.c b/sys/dev/vinum/vinummemory.c index 62c573d550aeb..ef8a541bb762c 100644 --- a/sys/dev/vinum/vinummemory.c +++ b/sys/dev/vinum/vinummemory.c @@ -175,7 +175,7 @@ MMalloc(int size, char *file, int line) for (i = 0; i < malloccount; i++) { if (((result + size) > malloced[i].address) && (result < malloced[i].address + malloced[i].size)) /* overlap */ - Debugger("Malloc overlap"); + kdb_enter("Malloc overlap"); } if (result) { char *f = basename(file); @@ -238,7 +238,7 @@ FFree(void *mem, char *file, int line) mem, file, line); - Debugger("Free"); + kdb_enter("Free"); } void |
