summaryrefslogtreecommitdiff
path: root/sys/ddb/db_command.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2015-02-08 19:41:39 +0000
committerchristos <christos@NetBSD.org>2015-02-08 19:41:39 +0000
commit0738f71738bf3659f3365670f2b9df1fd24d1f43 (patch)
treecab8834b2b990ea0baa5e6294e14da9fd41b751a /sys/ddb/db_command.c
parent165a895eb016a1bdf4f213bfe4c7ea09f92c51c3 (diff)
we can use show callout now from crash
Diffstat (limited to 'sys/ddb/db_command.c')
-rw-r--r--sys/ddb/db_command.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c
index 9fa8d836ff7..1aec9a22ed8 100644
--- a/sys/ddb/db_command.c
+++ b/sys/ddb/db_command.c
@@ -1,4 +1,4 @@
-/* $NetBSD: db_command.c,v 1.143 2013/10/19 15:20:52 christos Exp $ */
+/* $NetBSD: db_command.c,v 1.144 2015/02/08 19:41:39 christos Exp $ */
/*
* Copyright (c) 1996, 1997, 1998, 1999, 2002, 2009 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_command.c,v 1.143 2013/10/19 15:20:52 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_command.c,v 1.144 2015/02/08 19:41:39 christos Exp $");
#ifdef _KERNEL_OPT
#include "opt_aio.h"
@@ -212,10 +212,8 @@ static void db_vmem_print_cmd(db_expr_t, bool, db_expr_t, const char *);
static const struct db_command db_show_cmds[] = {
/*added from all sub cmds*/
-#ifdef _KERNEL /* XXX CRASH(8) */
{ DDB_ADD_CMD("callout", db_show_callout,
0 ,"List all used callout functions.",NULL,NULL) },
-#endif
{ DDB_ADD_CMD("pages", db_show_all_pages,
0 ,"List all used memory pages.",NULL,NULL) },
{ DDB_ADD_CMD("proc", db_show_proc,
@@ -305,10 +303,8 @@ static const struct db_command db_command_table[] = {
"Continue execution.", "[/c]",NULL) },
{ DDB_ADD_CMD("call", db_fncall, CS_OWN,
"Call the function", "address[(expression[,...])]",NULL) },
-#ifdef _KERNEL /* XXX CRASH(8) */
{ DDB_ADD_CMD("callout", db_show_callout, 0, NULL,
NULL,NULL ) },
-#endif
{ DDB_ADD_CMD("continue", db_continue_cmd, 0,
"Continue execution.", "[/c]",NULL) },
{ DDB_ADD_CMD("d", db_delete_cmd, 0,