diff options
author | marcel <marcel@FreeBSD.org> | 2004-07-21 05:55:51 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2004-07-21 05:55:51 +0000 |
commit | 0af700ac7eb3375d8ba3ec90ce173f3ef494f712 (patch) | |
tree | e940327c6d1b1160fc1b0bd11c5f7bd9df9ee582 | |
parent | ddbadf82fe0f3f9023613be15d55e6b498c23f93 (diff) | |
download | FreeBSD-src-0af700ac7eb3375d8ba3ec90ce173f3ef494f712.zip FreeBSD-src-0af700ac7eb3375d8ba3ec90ce173f3ef494f712.tar.gz |
Oops... Add the CS_OWN flag to the trace and where commands so that
db_stack_trace() actually has a chance to parse its own arguments.
-rw-r--r-- | sys/ddb/db_command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c index 03fd662..b1ad9e5 100644 --- a/sys/ddb/db_command.c +++ b/sys/ddb/db_command.c @@ -411,8 +411,8 @@ static struct command db_command_table[] = { { "until", db_trace_until_call_cmd,0, 0 }, { "next", db_trace_until_matching_cmd,0, 0 }, { "match", db_trace_until_matching_cmd,0, 0 }, - { "trace", db_stack_trace, 0, 0 }, - { "where", db_stack_trace, 0, 0 }, + { "trace", db_stack_trace, CS_OWN, 0 }, + { "where", db_stack_trace, CS_OWN, 0 }, { "call", db_fncall, CS_OWN, 0 }, { "show", 0, 0, db_show_cmds }, { "ps", db_ps, 0, 0 }, |