summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/libsa/debug_md.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-04-04 04:47:48 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-04-04 04:47:48 +0000
commitea0c1a875ff2a5356db9fe00060f2ddd2f1a964c (patch)
tree84a5b17b7ed1b6041dc4f1c06a755a02b0213f4e /sys/arch/i386/stand/libsa/debug_md.h
parent4bb1ee5415bfd5219eaf941d40b3eacc24630896 (diff)
dump regs w/ NMI (int 2)
more debugging is on the way
Diffstat (limited to 'sys/arch/i386/stand/libsa/debug_md.h')
-rw-r--r--sys/arch/i386/stand/libsa/debug_md.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/i386/stand/libsa/debug_md.h b/sys/arch/i386/stand/libsa/debug_md.h
index 3d2cc9283b7..014839f1978 100644
--- a/sys/arch/i386/stand/libsa/debug_md.h
+++ b/sys/arch/i386/stand/libsa/debug_md.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: debug_md.h,v 1.1 1997/04/01 04:52:47 mickey Exp $ */
+/* $OpenBSD: debug_md.h,v 1.2 1997/04/04 04:47:47 mickey Exp $ */
/*
* Copyright (c) 1997 Michael Shalayeff
@@ -43,9 +43,9 @@
#ifdef _LOCORE
.globl _reg
-#define DUMP_REGS pushl %cs; call _check_regs
+#define DUMP_REGS int $2
#else
-#define DUMP_REGS __asm("pushl %cs; call _check_regs")
+#define DUMP_REGS __asm("int $2")
extern struct reg reg;
#endif