summaryrefslogtreecommitdiff
path: root/sys/ddb
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2017-12-13 08:34:05 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2017-12-13 08:34:05 +0000
commit4fe6eab16a7a9691e70116baa906a4452dc2f0ed (patch)
tree355495ceef163d470ad6d17ba4e2ed74cc7150a8 /sys/ddb
parent4eab2d9bb2c36c2b29f81f32dc84966be14159c8 (diff)
Add 'bt' an alias for 'trace'.
ok pirofti@
Diffstat (limited to 'sys/ddb')
-rw-r--r--sys/ddb/db_command.c3
1 files changed, 2 insertions, 1 deletions
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 },