summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-04-29 22:23:50 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-04-29 22:23:50 +0000
commit4e0703ce3c78d9686e86e65b4679815e4d932206 (patch)
tree7cf764debde85d6390fc51f5610d6fcdc1eb99e6 /sys/arch
parent76917b0d15f9dcdf0dcb6c524f7b05eccc9d6322 (diff)
I want option DEBUG to rock my world.
(and that means it should compile, for starters)
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/m68k/fpe/fpu_emulate.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/m68k/fpe/fpu_emulate.c b/sys/arch/m68k/fpe/fpu_emulate.c
index d17adad52d9..23a03df3f2e 100644
--- a/sys/arch/m68k/fpe/fpu_emulate.c
+++ b/sys/arch/m68k/fpe/fpu_emulate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpu_emulate.c,v 1.10 2002/03/14 03:15:54 millert Exp $ */
+/* $OpenBSD: fpu_emulate.c,v 1.11 2002/04/29 22:23:49 miod Exp $ */
/* $NetBSD: fpu_emulate.c,v 1.14 1996/12/18 05:44:31 scottr Exp $ */
/*
@@ -43,6 +43,10 @@
#include <machine/cpu.h>
#include <machine/frame.h>
+#ifdef DDB
+#include <machine/db_machdep.h>
+#endif
+
#include "fpu_emulate.h"
static int fpu_emul_fmovmcr(struct fpemu *fe, struct instruction *insn);
@@ -250,7 +254,7 @@ fpu_emulate(frame, fpf)
else {
printf(" fpu_emulate: sig=%d, opcode=%x, word1=%x\n",
sig, insn.is_opcode, insn.is_word1);
- kdb_trap(-1, frame);
+ kdb_trap(-1, (db_regs_t *)frame);
}
#endif
if (frame->f_format == 4)