summaryrefslogtreecommitdiff
path: root/sys/arch/sh
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2006-11-02 22:16:23 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2006-11-02 22:16:23 +0000
commite8df6d476704bb1ef2153a6faa97e9d22e83cfc4 (patch)
tree120105628820b7e572ab65ca69e357041b99093a /sys/arch/sh
parente40d2ee3e301abd9cb1f58c731aa77525b6ec3ed (diff)
proper brkpt detection so continue does restart proper
Diffstat (limited to 'sys/arch/sh')
-rw-r--r--sys/arch/sh/include/db_machdep.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sh/include/db_machdep.h b/sys/arch/sh/include/db_machdep.h
index 00c485b6bc8..8a36bfddda6 100644
--- a/sys/arch/sh/include/db_machdep.h
+++ b/sys/arch/sh/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.2 2006/10/06 21:16:57 mickey Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.3 2006/11/02 22:16:22 mickey Exp $ */
/* $NetBSD: db_machdep.h,v 1.12 2006/05/10 06:24:03 skrll Exp $ */
/*
@@ -54,7 +54,7 @@ extern db_regs_t ddb_regs; /* register state */
#define FIXUP_PC_AFTER_BREAK(regs) ((regs)->tf_spc -= BKPT_SIZE)
-#define IS_BREAKPOINT_TRAP(type, code) ((type) == EXPEVT_BREAK)
+#define IS_BREAKPOINT_TRAP(type, code) ((type) == EXPEVT_TRAPA)
#define IS_WATCHPOINT_TRAP(type, code) (0) /* XXX (msaitoh) */
#define inst_load(ins) 0