- Rename 'traceall' to 'alltrace' so that the 'tr' shortcut for 'trace'
still works. Also, this is consistent with 'show pcpu' vs 'show allpcpu'. (And 'show allstacks' on OS X for that matter.) - Add 'bt' as an alias for 'trace'. We already have a 'where' alias as well, so this makes it easier for gdb-wired hands to work in ddb. Ok'd by: rwatson (1) Requested by: scottl (2) MFC after: 1 day
This commit is contained in:
parent
580f26e209
commit
3f6e2e8e0b
@ -115,8 +115,9 @@ static struct command db_command_table[] = {
|
|||||||
{ "next", db_trace_until_matching_cmd,0, 0 },
|
{ "next", db_trace_until_matching_cmd,0, 0 },
|
||||||
{ "match", db_trace_until_matching_cmd,0, 0 },
|
{ "match", db_trace_until_matching_cmd,0, 0 },
|
||||||
{ "trace", db_stack_trace, CS_OWN, 0 },
|
{ "trace", db_stack_trace, CS_OWN, 0 },
|
||||||
{ "traceall", db_stack_trace_all, 0, 0 },
|
{ "alltrace", db_stack_trace_all, 0, 0 },
|
||||||
{ "where", db_stack_trace, CS_OWN, 0 },
|
{ "where", db_stack_trace, CS_OWN, 0 },
|
||||||
|
{ "bt", db_stack_trace, CS_OWN, 0 },
|
||||||
{ "call", db_fncall, CS_OWN, 0 },
|
{ "call", db_fncall, CS_OWN, 0 },
|
||||||
{ "show", 0, 0, db_show_cmds },
|
{ "show", 0, 0, db_show_cmds },
|
||||||
{ "ps", db_ps, 0, 0 },
|
{ "ps", db_ps, 0, 0 },
|
||||||
|
Loading…
Reference in New Issue
Block a user