From 61576e6a8bea3a2ebc172b02ddadeff63d14316f Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Mon, 4 Jun 2007 17:03:05 +0000 Subject: Ten lines of backtrace should be better on 25-line screens, so that the panic message is still visible. --- sys/ddb/db_trap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys') diff --git a/sys/ddb/db_trap.c b/sys/ddb/db_trap.c index 94a7cff8b74..6d463759d32 100644 --- a/sys/ddb/db_trap.c +++ b/sys/ddb/db_trap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_trap.c,v 1.12 2007/06/04 16:52:39 miod Exp $ */ +/* $OpenBSD: db_trap.c,v 1.13 2007/06/04 17:03:04 miod Exp $ */ /* $NetBSD: db_trap.c,v 1.9 1996/02/05 01:57:18 christos Exp $ */ /* @@ -78,7 +78,7 @@ db_trap(int type, int code) * give the user a traceback. */ if (cold) { - db_stack_trace_print(db_dot, 0, 20 /* arbitrary */, "", + db_stack_trace_print(db_dot, 0, 10 /* arbitrary */, "", db_printf); } -- cgit v1.2.3