summaryrefslogtreecommitdiff
path: root/sys/ddb
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-10-26 22:23:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-10-26 22:23:11 +0000
commita18ba554d207205bb466a43cef4177ff84dc391b (patch)
tree258aabc5eb6d0d58affe07da77f34d1cf73a81ee /sys/ddb
parentbcad6c11e7f764160e58ad2fb1cfdc5e3b5e88e4 (diff)
for MP, ask people to try to trace the other cpus too
Diffstat (limited to 'sys/ddb')
-rw-r--r--sys/ddb/db_trap.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/ddb/db_trap.c b/sys/ddb/db_trap.c
index 6d463759d32..d85776208eb 100644
--- a/sys/ddb/db_trap.c
+++ b/sys/ddb/db_trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_trap.c,v 1.13 2007/06/04 17:03:04 miod Exp $ */
+/* $OpenBSD: db_trap.c,v 1.14 2008/10/26 22:23:10 deraadt Exp $ */
/* $NetBSD: db_trap.c,v 1.9 1996/02/05 01:57:18 christos Exp $ */
/*
@@ -87,6 +87,10 @@ db_trap(int type, int code)
db_printf("\n");
db_printf("RUN AT LEAST 'trace' AND 'ps' AND INCLUDE "
"OUTPUT WHEN REPORTING THIS PANIC!\n");
+#ifdef MULTIPROCESSOR
+ db_printf("IF RUNNING SMP, USE 'mach ddbcpu <#>' AND "
+ "'trace' ON OTHER PROCESSORS, TOO.\n");
+#endif
db_printf("DO NOT EVEN BOTHER REPORTING THIS WITHOUT "
"INCLUDING THAT INFORMATION!\n");
}