Date: Mon, 21 Jan 2008 17:01:48 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 133795 for review Message-ID: <200801211701.m0LH1mdT065044@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=133795 Change 133795 by sam@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) = { \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801211701.m0LH1mdT065044>