From 3f6e2e8e0bd6fc55341232e15875b18071c1d023 Mon Sep 17 00:00:00 2001 From: jhb Date: Mon, 24 Oct 2005 15:21:36 +0000 Subject: [PATCH] - 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 --- sys/ddb/db_command.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c index 8b49c0484319..78fbf3998edc 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 },