summaryrefslogtreecommitdiff
path: root/sys/ddb/db_command.c
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2008-03-25 20:36:32 +0000
committerSam Leffler <sam@FreeBSD.org>2008-03-25 20:36:32 +0000
commit9e340a61900d6ca55e42f2efd41362c666f28f2f (patch)
treec770cb5d4eaa07771e76b1810d58e0e5ee11991d /sys/ddb/db_command.c
parent9c8408a472d744314f4a305385406edc71e23643 (diff)
Notes
Diffstat (limited to 'sys/ddb/db_command.c')
-rw-r--r--sys/ddb/db_command.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c
index db6dc24774c5..0395e75df44e 100644
--- a/sys/ddb/db_command.c
+++ b/sys/ddb/db_command.c
@@ -65,6 +65,7 @@ db_addr_t db_next;
SET_DECLARE(db_cmd_set, struct command);
SET_DECLARE(db_show_cmd_set, struct command);
+SET_DECLARE(db_show_all_cmd_set, struct command);
static db_cmdfcn_t db_fncall;
static db_cmdfcn_t db_gdb;
@@ -80,12 +81,13 @@ static db_cmdfcn_t db_watchdog;
*/
static struct command db_show_all_cmds[] = {
- { "procs", db_ps, 0, 0 },
{ (char *)0 }
};
static struct command_table db_show_all_table = {
- db_show_all_cmds
+ db_show_all_cmds,
+ SET_BEGIN(db_show_all_cmd_set),
+ SET_LIMIT(db_show_all_cmd_set)
};
static struct command db_show_cmds[] = {