summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-09-12 10:27:45 +0000
committerderaadt <deraadt@openbsd.org>2015-09-12 10:27:45 +0000
commit4be89cb198903da784b8ec2df8df6b4b289abc67 (patch)
tree2ac620aa0566b0c40cf2ac06d095678b43e2c457
parentPull variable assignment out from function call, fix indentation and set (diff)
downloadwireguard-openbsd-4be89cb198903da784b8ec2df8df6b4b289abc67.tar.xz
wireguard-openbsd-4be89cb198903da784b8ec2df8df6b4b289abc67.zip
show a few more lines of trace; discussed in the room
-rw-r--r--sys/ddb/db_trap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_trap.c b/sys/ddb/db_trap.c
index 2cb89d1dda7..5575ba21265 100644
--- a/sys/ddb/db_trap.c
+++ b/sys/ddb/db_trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_trap.c,v 1.21 2015/09/12 08:26:01 guenther Exp $ */
+/* $OpenBSD: db_trap.c,v 1.22 2015/09/12 10:27:45 deraadt Exp $ */
/* $NetBSD: db_trap.c,v 1.9 1996/02/05 01:57:18 christos Exp $ */
/*
@@ -73,7 +73,7 @@ db_trap(int type, int code)
/* show on-proc threads */
db_show_all_procs(0, 0, 0, "o");
/* then the backtrace */
- db_stack_trace_print(db_dot, 0, 10 /* arbitrary */, "",
+ db_stack_trace_print(db_dot, 0, 14 /* arbitrary */, "",
db_printf);
if (db_print_position() != 0)