From: mpi Date: Wed, 13 Dec 2017 08:34:04 +0000 (+0000) Subject: Add 'bt' an alias for 'trace'. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=6f5d2abf0588dc4f7701fd1c54942db01ba809dc;p=openbsd Add 'bt' an alias for 'trace'. ok pirofti@ --- diff --git a/sys/ddb/db_command.c b/sys/ddb/db_command.c index 6069e2a5ebc..cd4cd40b714 100644 --- a/sys/ddb/db_command.c +++ b/sys/ddb/db_command.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_command.c,v 1.81 2017/12/11 05:27:40 deraadt Exp $ */ +/* $OpenBSD: db_command.c,v 1.82 2017/12/13 08:34:04 mpi Exp $ */ /* $NetBSD: db_command.c,v 1.20 1996/03/30 22:30:05 christos Exp $ */ /* @@ -628,6 +628,7 @@ struct db_command db_command_table[] = { { "next", db_trace_until_matching_cmd,0, NULL }, { "match", db_trace_until_matching_cmd,0, NULL }, { "trace", db_stack_trace_cmd, 0, NULL }, + { "bt", db_stack_trace_cmd, 0, NULL }, { "call", db_fncall, CS_OWN, NULL }, { "ps", db_show_all_procs, 0, NULL }, { "callout", db_show_callout, 0, NULL },