From: Charles Sandmann Newsgroups: comp.os.msdos.djgpp Subject: Re: Debug before main? Date: Sun, 22 Sep 1996 11:36:32 CDT Organization: Rice University, Houston, Texas Lines: 9 Message-ID: <32456b10.sandmann@clio.rice.edu> References: Reply-To: sandmann AT clio DOT rice DOT edu NNTP-Posting-Host: clio.rice.edu To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp > I recently subled upon a problem with GDB ... 386DX40 8MB computer, no FPU. > printf("%f + %f = %f", _float1, _float2, _float1 + _float2); > signalled that 'Program has exited wit SIGFPE'. I thought I made a mistake > it occured to me that it might be a problem with the FPU emulation. Is it? None of the debuggers can properly handle FPU code without a real coprocessor. Using WMEMU helps, but there are still problems emulating flags, etc in this case, so it just doesn't work, no workaround. Floating point code must be debugged on a box with a real FPU. It just wasn't worth fixing.