diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2003-08-08 04:21:45 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2003-08-08 04:21:45 +0000 |
commit | 47a7963e6032336c3402a73301613eea533428b5 (patch) | |
tree | 10de622d6f4a12c0ad9abb741d5b9364700252d5 /sys/gnu/arch/i386/fpemul | |
parent | c0ff8208f2d2eedf750b7803625fba129289e57e (diff) |
ifdef some debugging crap
Diffstat (limited to 'sys/gnu/arch/i386/fpemul')
-rw-r--r-- | sys/gnu/arch/i386/fpemul/errors.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/gnu/arch/i386/fpemul/errors.c b/sys/gnu/arch/i386/fpemul/errors.c index 69cb43ad455..391018508c0 100644 --- a/sys/gnu/arch/i386/fpemul/errors.c +++ b/sys/gnu/arch/i386/fpemul/errors.c @@ -1,4 +1,4 @@ -/* $OpenBSD: errors.c,v 1.3 2003/07/30 21:30:31 jason Exp $ */ +/* $OpenBSD: errors.c,v 1.4 2003/08/08 04:21:44 jason Exp $ */ /* * errors.c * @@ -115,8 +115,7 @@ Un_impl(void) } - - +#ifdef DEBUG void emu_printall() { @@ -228,6 +227,7 @@ emu_printall() REENTRANT_CHECK(ON); } +#endif static struct { int type; @@ -363,7 +363,9 @@ exception(int n) if (n == EX_INTERNAL) { printf("FP emulator: Internal error type 0x%04x\n", int_type); +#ifdef DEBUG emu_printall(); +#endif } #ifdef PRINT_MESSAGES else |