www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/05/01:55:06

Xref: news2.mv.net comp.os.msdos.djgpp:2440
From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: GDB gives SIGFPE for program using 387 emulator
Date: 4 Apr 1996 02:37:04 GMT
Organization: The National Capital FreeNet
Lines: 18
Sender: ao950 AT freenet5 DOT carleton DOT ca (Paul Derbyshire)
Message-ID: <4jvckg$8sl@freenet-news.carleton.ca>
References: <4jurpd$q0j AT newsbf02 DOT news DOT aol DOT com>
Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
NNTP-Posting-Host: freenet5.carleton.ca
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

TwinkieMan (twinkieman AT aol DOT com) writes:
> How do I debug a program compiled with the 387 coprocessor emulator?  I
> have the environment variables 387 and EMU387 set to "N" and "emu387.dxe",
> respectively.  I've tried compiling the program with the LIBEMU.A  (gcc -o
> prog prog.c -lemu -lm) and I still get the SIGFPE error.  Any suggestions,
> short of buying a coprocessor?  Thanks in advance!

I recall reading something about this. Apparently the gee--er--guy that
wrote GDB didn't include provisions in it for floating point. In other
words GDB itself doesn't have emu387 or anything similar in its own code.
The posting I saw said you had to fall back on good ol' edebug32.

--
    .*.  "Clouds are not spheres, mountains are not cones, coastlines are not
 -()  <  circles, and bark is not smooth, nor does lightning travel in a
    `*'  straight line."    ,------------------------------------------------
         -- B. Mandelbrot  |  Paul Derbyshire (PGD) ao950 AT freenet DOT carleton DOT ca

- Raw text -


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