Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ddb we can use show callout now from crash



details:   https://anonhg.NetBSD.org/src/rev/43bf8fbc1e68
branches:  trunk
changeset: 806194:43bf8fbc1e68
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Feb 08 19:41:39 2015 +0000

description:
we can use show callout now from crash

diffstat:

 sys/ddb/db_command.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (40 lines):

diff -r 80ef56efaaf6 -r 43bf8fbc1e68 sys/ddb/db_command.c
--- a/sys/ddb/db_command.c      Sun Feb 08 19:41:00 2015 +0000
+++ b/sys/ddb/db_command.c      Sun Feb 08 19:41:39 2015 +0000
@@ -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 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 @@
            "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,



Home | Main Index | Thread Index | Old Index