From 1a5609a9231d4a42e2f23160d2d91eda3aa380e4 Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 8 Feb 2015 19:41:39 +0000 Subject: [PATCH] we can use show callout now from crash --- sys/ddb/db_command.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c index 9fa8d836ff73..1aec9a22ed86 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 -__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,