remove the new command not the old one.

This commit is contained in:
christos 2013-01-06 04:17:27 +00:00
parent 2869772d30
commit fa04e235ed

View File

@ -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_cmds[] = {
#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_command_table[] = {
"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,