Source-Changes-HG archive

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

[src/trunk]: src/sys/ddb remove the new command not the old one.



details:   https://anonhg.NetBSD.org/src/rev/0078ff1cbf2d
branches:  trunk
changeset: 783734:0078ff1cbf2d
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 06 04:17:27 2013 +0000

description:
remove the new command not the old one.

diffstat:

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

diffs (36 lines):

diff -r 76f53d2d4a7d -r 0078ff1cbf2d sys/ddb/db_command.c
--- a/sys/ddb/db_command.c      Sun Jan 06 03:35:21 2013 +0000
+++ b/sys/ddb/db_command.c      Sun Jan 06 04:17:27 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_command.c,v 1.141 2013/01/06 03:34:52 christos Exp $        */
+/*     $NetBSD: db_command.c,v 1.142 2013/01/06 04:17:27 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.141 2013/01/06 03:34:52 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_command.c,v 1.142 2013/01/06 04:17:27 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_aio.h"
@@ -240,8 +240,6 @@
 #endif
        { DDB_ADD_CMD("buf",    db_buf_print_cmd,       0,
            "Print the struct buf at address.", "[/f] address",NULL) },
-       { DDB_ADD_CMD("dmesg",  db_show_dmesg,  0,
-           "Print the current message buffer",NULL,NULL) },
        { DDB_ADD_CMD("event",  db_event_print_cmd,     0,
            "Print all the non-zero evcnt(9) event counters.", "[/fitm]",NULL) },
        { DDB_ADD_CMD("files", db_show_files_cmd,       0,
@@ -317,6 +315,8 @@
            "Delete a breakpoint.", "address | #number",NULL) },
        { DDB_ADD_CMD("delete", db_delete_cmd,          0,
            "Delete a breakpoint.", "address | #number",NULL) },
+       { DDB_ADD_CMD("dmesg",  db_dmesg,               0,
+           "Show kernel message buffer.", "[count]",NULL) },
        { DDB_ADD_CMD("dwatch", db_deletewatch_cmd,     0,
            "Delete the watchpoint.", "address",NULL) },
        { DDB_ADD_CMD("examine",        db_examine_cmd,         CS_SET_DOT,



Home | Main Index | Thread Index | Old Index