summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-12-22 20:36:01 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-12-22 20:36:01 +0000
commita6a3c186972ed59fcdb23afe3b66c520dddcecf2 (patch)
tree843d666019a9e5f1d205617a562dda557d0cb4d5 /sys/arch/hppa
parent00aa9ed187b22f45c95705b527daef3733c2d166 (diff)
proper DDB_DEBUG
Diffstat (limited to 'sys/arch/hppa')
-rw-r--r--sys/arch/hppa/hppa/db_interface.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/hppa/hppa/db_interface.c b/sys/arch/hppa/hppa/db_interface.c
index 937ebac3ad4..c6343891c4e 100644
--- a/sys/arch/hppa/hppa/db_interface.c
+++ b/sys/arch/hppa/hppa/db_interface.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_interface.c,v 1.30 2004/06/27 14:16:22 mickey Exp $ */
+/* $OpenBSD: db_interface.c,v 1.31 2004/12/22 20:36:00 mickey Exp $ */
/*
* Copyright (c) 1999-2003 Michael Shalayeff
@@ -26,7 +26,7 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
-#define DDB_DEBUG
+#undef DDB_DEBUG
#include <sys/param.h>
#include <sys/systm.h>
@@ -260,7 +260,7 @@ db_stack_trace_print(addr, have_addr, count, modif, pr)
}
#ifdef DDB_DEBUG
- /* (*pr) (">> %p, 0x%x, 0x%x\t", fp, pc, rp); */
+ *pr) (">> %p, 0x%x, 0x%x\t", fp, pc, rp);
#endif
while (fp && count--) {
@@ -323,7 +323,7 @@ db_stack_trace_print(addr, have_addr, count, modif, pr)
} else
fp = (register_t *)fp[0];
#ifdef DDB_DEBUG
- /* (*pr) (">> %x, %x, %x\t", fp, pc, rp); */
+ (*pr) (">> %x, %x, %x\t", fp, pc, rp);
#endif
}