- 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:
John Baldwin 2005-10-24 15:21:36 +00:00
parent 198b0a3b71
commit 3924da21a3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151622

View File

@ -115,8 +115,9 @@ static struct command db_command_table[] = {
{ "next", db_trace_until_matching_cmd,0, 0 },
{ "match", db_trace_until_matching_cmd,0, 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 },
{ "bt", db_stack_trace, CS_OWN, 0 },
{ "call", db_fncall, CS_OWN, 0 },
{ "show", 0, 0, db_show_cmds },
{ "ps", db_ps, 0, 0 },