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.
This commit is contained in:
Marcel Moolenaar 2004-07-21 05:55:51 +00:00
parent 5476633aed
commit 026c3aaa60

View File

@ -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 },