www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/22/16:08:16

From: Charles Sandmann <sandmann AT clio DOT rice DOT edu>
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: <Pine DOT NEB DOT 3 DOT 95 DOT 960918125915 DOT 170H-100000 AT ananke DOT amu DOT edu DOT pl>
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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019