summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2005-05-15 14:16:42 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2005-05-15 14:16:42 +0000
commit48255170f0f818e497fd60a4ac178a0c221cca97 (patch)
treedad5ed38f69807086aaad0be64354a3262184125 /sys/arch
parent1c4c60df4bc542e6e04a5dfa4de63eafea821ae8 (diff)
Disable ddb backtrace debug code by default.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/m88k/m88k/db_trace.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/arch/m88k/m88k/db_trace.c b/sys/arch/m88k/m88k/db_trace.c
index 532e74ed1a3..9aeb63548df 100644
--- a/sys/arch/m88k/m88k/db_trace.c
+++ b/sys/arch/m88k/m88k/db_trace.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_trace.c,v 1.4 2005/04/30 16:44:08 miod Exp $ */
+/* $OpenBSD: db_trace.c,v 1.5 2005/05/15 14:16:41 miod Exp $ */
/*
* Mach Operating System
* Copyright (c) 1993-1991 Carnegie Mellon University
@@ -95,7 +95,7 @@ static inline unsigned br_dest(unsigned addr, union instruction inst)
}
-#define TRACE_DEBUG /* undefine to disable debugging */
+/* #define TRACE_DEBUG */
int frame_is_sane(db_regs_t *regs, int);
char *m88k_exception_name(unsigned vector);
@@ -1026,8 +1026,6 @@ db_stack_trace_print(db_expr_t addr,
case 'd':
#ifdef TRACE_DEBUG
trace_flags |= TRACE_DEBUG_FLAG;
-#else
- db_printtf("<debug trace not compiled in, ignoring>\n");
#endif
break;