diff options
-rw-r--r-- | sys/arch/m68k/fpe/fpu_emulate.c | 8 |
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) |