summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2017-12-13 08:34:04 +0000
committermpi <mpi@openbsd.org>2017-12-13 08:34:04 +0000
commit6f5d2abf0588dc4f7701fd1c54942db01ba809dc (patch)
treeed306f32e30631c813a7be28b683dea9d552d1b1
parentgetsockname(2) needs to be passed the length of the input struct. (diff)
downloadwireguard-openbsd-6f5d2abf0588dc4f7701fd1c54942db01ba809dc.tar.xz
wireguard-openbsd-6f5d2abf0588dc4f7701fd1c54942db01ba809dc.zip
Add 'bt' an alias for 'trace'.
ok pirofti@
-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 },