summaryrefslogtreecommitdiff
path: root/sys/arch/m68k
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2005-11-13 17:50:46 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2005-11-13 17:50:46 +0000
commitac3032870b4893e133da625a13872a42dd2be14d (patch)
tree36666bbd4d862ebfa842f3ab1c7f8ddc1f451d71 /sys/arch/m68k
parent56fd7dfee4de7122306fde7e9dc0075dee5e3dae (diff)
move kgdb_connect and kgdb_panic into MI. looked by miod@ and kettenis@
Diffstat (limited to 'sys/arch/m68k')
-rw-r--r--sys/arch/m68k/include/db_machdep.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/m68k/include/db_machdep.h b/sys/arch/m68k/include/db_machdep.h
index 5412577b53d..69594b86ef0 100644
--- a/sys/arch/m68k/include/db_machdep.h
+++ b/sys/arch/m68k/include/db_machdep.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_machdep.h,v 1.9 2005/01/04 21:14:35 espie Exp $ */
+/* $OpenBSD: db_machdep.h,v 1.10 2005/11/13 17:50:44 fgsch Exp $ */
/* $NetBSD: db_machdep.h,v 1.20 1997/06/26 01:26:58 thorpej Exp $ */
/*
@@ -94,9 +94,10 @@ typedef long kgdb_reg_t;
#define KGDB_NUMREGS (16+2)
#define KGDB_BUFLEN 512
-
#ifdef _KERNEL
+#define KGDB_ENTER __asm __volatile("trap #15")
+
void Debugger(void); /* XXX */
void kdb_kintr(db_regs_t *);
int kdb_trap(int, db_regs_t *);