diff options
author | 2003-08-08 04:21:44 +0000 | |
---|---|---|
committer | 2003-08-08 04:21:44 +0000 | |
commit | d4e25c93b77992d7329330ed59a709f76ae48b9b (patch) | |
tree | 78ee7e122560f57a6329d5a553a6cd6b6cc82dea | |
parent | first ansi (diff) | |
download | wireguard-openbsd-d4e25c93b77992d7329330ed59a709f76ae48b9b.tar.xz wireguard-openbsd-d4e25c93b77992d7329330ed59a709f76ae48b9b.zip |
ifdef some debugging crap
-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 |