summaryrefslogtreecommitdiffstats
path: root/sys/ddb/ddb.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2008-03-25 20:36:32 +0000
committersam <sam@FreeBSD.org>2008-03-25 20:36:32 +0000
commit8e10753c85ea5f78b7f17da0680e9673d12a3f39 (patch)
treec770cb5d4eaa07771e76b1810d58e0e5ee11991d /sys/ddb/ddb.h
parent172c1f8c45c281948c9562ee2b7ce282df01fde0 (diff)
downloadFreeBSD-src-8e10753c85ea5f78b7f17da0680e9673d12a3f39.zip
FreeBSD-src-8e10753c85ea5f78b7f17da0680e9673d12a3f39.tar.gz
enable dynamic addition of "show all" commands
MFC after: 3 weeks
Diffstat (limited to 'sys/ddb/ddb.h')
-rw-r--r--sys/ddb/ddb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/ddb/ddb.h b/sys/ddb/ddb.h
index d559978..57c5fd1 100644
--- a/sys/ddb/ddb.h
+++ b/sys/ddb/ddb.h
@@ -80,6 +80,8 @@ typedef void db_cmdfcn_t(db_expr_t addr, boolean_t have_addr, db_expr_t count,
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) = { \
OpenPOWER on IntegriCloud