Mail Archives: djgpp/1996/09/22/16:08:16
> 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.
- Raw text -