aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Birrell <jb@FreeBSD.org>2008-06-16 04:44:29 +0000
committerJohn Birrell <jb@FreeBSD.org>2008-06-16 04:44:29 +0000
commit5d846378f7818fc35932af86f8f2090be4bfb26e (patch)
tree21a86f262e5f073b4daf4d61dc8a9ffe906d6168
parenta0b454dc4b84b37ea42e882fa938e6d532bdd42f (diff)
downloadsrc-5d846378f7818fc35932af86f8f2090be4bfb26e.tar.gz
src-5d846378f7818fc35932af86f8f2090be4bfb26e.zip
Notes
-rw-r--r--sys/kern/kern_dtrace.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/kern/kern_dtrace.c b/sys/kern/kern_dtrace.c
index 71efe1cb8ddc..145535201e2f 100644
--- a/sys/kern/kern_dtrace.c
+++ b/sys/kern/kern_dtrace.c
@@ -106,15 +106,3 @@ init_dtrace(void *dummy __unused)
}
SYSINIT(kdtrace, SI_SUB_KDTRACE, SI_ORDER_FIRST, init_dtrace, NULL);
-
-#ifndef KDB
-/*
- * This is a stub for the kernel debugger for the DTrace actions to call
- * when the kernel has been built without KDB.
- */
-void
-kdb_enter(const char *why, const char *msg)
-{
- printf("Cannot enter kernel debugger - No KDB in kernel.\n%s - %s\n", why, msg);
-}
-#endif