summaryrefslogtreecommitdiff
path: root/sys/arch/pmax/include/kdbparam.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-05-18 00:28:38 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-05-18 00:28:38 +0000
commit567b8d71a84ccbfec00fb59d52dfd6867296f64d (patch)
treedfcd7958d893ae00faf51af7d859bc02ab0528b1 /sys/arch/pmax/include/kdbparam.h
parentd414ee5831ad97169bd77cf57b15b084f79e46f2 (diff)
new cpureg.h from NetBSD plus modifications to use the changed macro names
Diffstat (limited to 'sys/arch/pmax/include/kdbparam.h')
-rw-r--r--sys/arch/pmax/include/kdbparam.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/pmax/include/kdbparam.h b/sys/arch/pmax/include/kdbparam.h
index 9104c87aa3c..0bf7220b606 100644
--- a/sys/arch/pmax/include/kdbparam.h
+++ b/sys/arch/pmax/include/kdbparam.h
@@ -52,13 +52,13 @@
#define LPRMODE "%R"
#define OFFMODE "+%R"
-#define SETBP(ins) MACH_BREAK_BRKPT
+#define SETBP(ins) MIPS_BREAK_BRKPT
/* return the program counter value modified if we are in a delay slot */
#define kdbgetpc(pcb) (kdbvar[kdbvarchk('t')] < 0 ? \
(pcb).pcb_regs[34] + 4 : (pcb).pcb_regs[34])
#define kdbishiddenreg(p) ((p) >= &kdbreglist[33])
-#define kdbisbreak(type) (((type) & MACH_CR_EXC_CODE) == 0x24)
+#define kdbisbreak(type) (((type) & MIPS_CR_EXC_CODE) == 0x24)
/* check for address wrap around */
#define kdbaddrwrap(addr,newaddr) (((addr)^(newaddr)) >> 31)