summaryrefslogtreecommitdiff
path: root/sys/ddb/db_trap.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2010-11-27 19:57:24 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2010-11-27 19:57:24 +0000
commit0ed7bf7b63c6099fc1205fa39502c78fba9d94c0 (patch)
tree305a037847e752d58307b5307bc7e15b5ef94c58 /sys/ddb/db_trap.c
parent5e5b8791118667f1de14d12971ebf359c1488cec (diff)
Remove ddb single-step load and store counters. Most platforms do not
implement them, and they are of questionable usefulness.
Diffstat (limited to 'sys/ddb/db_trap.c')
-rw-r--r--sys/ddb/db_trap.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/ddb/db_trap.c b/sys/ddb/db_trap.c
index d85776208eb..96eeb2ab3fc 100644
--- a/sys/ddb/db_trap.c
+++ b/sys/ddb/db_trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_trap.c,v 1.14 2008/10/26 22:23:10 deraadt Exp $ */
+/* $OpenBSD: db_trap.c,v 1.15 2010/11/27 19:57:23 miod Exp $ */
/* $NetBSD: db_trap.c,v 1.9 1996/02/05 01:57:18 christos Exp $ */
/*
@@ -60,9 +60,7 @@ db_trap(int type, int code)
if (db_stop_at_pc(DDB_REGS, &bkpt)) {
if (db_inst_count) {
- db_printf("After %d instructions ", db_inst_count);
- db_printf("(%d loads, %d stores),\n", db_load_count,
- db_store_count);
+ db_printf("After %d instructions\n", db_inst_count);
}
if (bkpt)
db_printf("Breakpoint at\t");