Module Name:    src
Committed By:   christos
Date:           Sun Jan  6 04:17:27 UTC 2013

Modified Files:
        src/sys/ddb: db_command.c

Log Message:
remove the new command not the old one.


To generate a diff of this commit:
cvs rdiff -u -r1.141 -r1.142 src/sys/ddb/db_command.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/ddb/db_command.c
diff -u src/sys/ddb/db_command.c:1.141 src/sys/ddb/db_command.c:1.142
--- src/sys/ddb/db_command.c:1.141	Sat Jan  5 22:34:52 2013
+++ src/sys/ddb/db_command.c	Sat Jan  5 23:17:27 2013
@@ -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 @@ static const struct db_command db_show_c
 #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 @@ static const struct db_command db_comman
 	    "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,

Reply via email to