diff options
author | jhb <jhb@FreeBSD.org> | 2005-10-24 15:21:36 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2005-10-24 15:21:36 +0000 |
commit | 3f6e2e8e0bd6fc55341232e15875b18071c1d023 (patch) | |
tree | 56dd7fd460c705fa300867babf16e85abc62542f /sys/ddb | |
parent | 580f26e209e5e52265db5f2d6c15c02525926fcf (diff) | |
download | FreeBSD-src-3f6e2e8e0bd6fc55341232e15875b18071c1d023.zip FreeBSD-src-3f6e2e8e0bd6fc55341232e15875b18071c1d023.tar.gz |
- 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
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_command.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c index 8b49c04..78fbf39 100644 --- a/sys/ddb/db_command.c +++ b/sys/ddb/db_command.c @@ -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 }, |