diff options
author | Mitchell Horne <mhorne@FreeBSD.org> | 2022-07-18 21:21:38 +0000 |
---|---|---|
committer | Allan Jude <allanjude@FreeBSD.org> | 2022-07-18 22:06:09 +0000 |
commit | c84c5e00ac28c8e00a56019031d1eaec74428b54 (patch) | |
tree | f119a70bb3112719dc4f308de3ceed6875b8b16a /sys/ddb | |
parent | bb61cba751b3b1620d14af987a4025974b4b1b2e (diff) | |
download | src-c84c5e00ac28c8e00a56019031d1eaec74428b54.tar.gz src-c84c5e00ac28c8e00a56019031d1eaec74428b54.zip |
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_command.c | 2 | ||||
-rw-r--r-- | sys/ddb/db_watch.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c index e6de6cd716e2..06eab31dbfa8 100644 --- a/sys/ddb/db_command.c +++ b/sys/ddb/db_command.c @@ -511,7 +511,7 @@ db_command(struct db_command **last_cmdp, struct db_command_table *cmd_table, * At least one non-optional command must be implemented using * DB_COMMAND() so that db_cmd_set gets created. Here is one. */ -DB_COMMAND(panic, db_panic) +DB_COMMAND_FLAGS(panic, db_panic, DB_CMD_MEMSAFE) { db_disable_pager(); panic("from debugger"); diff --git a/sys/ddb/db_watch.c b/sys/ddb/db_watch.c index 3226b050a4c3..62585731e82e 100644 --- a/sys/ddb/db_watch.c +++ b/sys/ddb/db_watch.c @@ -216,7 +216,7 @@ db_watchpoint_cmd(db_expr_t addr, bool have_addr, db_expr_t count, * At least one non-optional show-command must be implemented using * DB_SHOW_COMMAND() so that db_show_cmd_set gets created. Here is one. */ -DB_SHOW_COMMAND(watches, db_listwatch_cmd) +DB_SHOW_COMMAND_FLAGS(watches, db_listwatch_cmd, DB_CMD_MEMSAFE) { db_list_watchpoints(); db_md_list_watchpoints(); |