PERFORCE change 133795 for review
Sam Leffler
sam at FreeBSD.org
Mon Jan 21 09:01:51 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=133795
Change 133795 by sam at sam_ebb on 2008/01/21 17:01:31
allow show all to be extended a la show
Affected files ...
.. //depot/projects/vap/sys/ddb/db_command.c#6 edit
.. //depot/projects/vap/sys/ddb/ddb.h#7 edit
Differences ...
==== //depot/projects/vap/sys/ddb/db_command.c#6 (text+ko) ====
@@ -65,6 +65,7 @@
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;
@@ -85,7 +86,9 @@
};
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[] = {
==== //depot/projects/vap/sys/ddb/ddb.h#7 (text+ko) ====
@@ -80,6 +80,8 @@
DB_FUNC(cmd_name, func_name, db_cmd_set, 0, NULL)
#define DB_SHOW_COMMAND(cmd_name, func_name) \
DB_FUNC(cmd_name, func_name, db_show_cmd_set, 0, NULL)
+#define DB_SHOW_ALL_COMMAND(cmd_name, func_name) \
+ DB_FUNC(cmd_name, func_name, db_show_all_cmd_set, 0, NULL)
#define DB_SET(cmd_name, func_name, set, flag, more) \
static const struct command __CONCAT(cmd_name,_cmd) = { \
More information about the p4-projects
mailing list