*BSD News Article 65492


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: gdb on freeBSD
Date: 8 Apr 1996 01:46:15 GMT
Organization: Private BSD site, Dresden
Lines: 22
Message-ID: <4k9r57$23b@uriah.heep.sax.de>
References: <4jtg1o$kam@holodeck.iss.nus.sg> <4k770o$er6@uriah.heep.sax.de> <4k80s8$tm@gate.ohs.ie>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

steveo@gate.ohs.ie (Steve O'Hara-Smith) writes:

> >> Program received signal SIGFPE, Arithmetic exception.
> >> 0x8051bd2 in __ieee754_exp ()
> 
> 	You probably need to add
> 
> #include <floatingpoint.h>
> ..
> 	fpsetmask (0);

However, this will only work if the application is able to handle the
NaN's and infinity's that might arise out of this.  Note that
fpsetmask(0) will never generate a fault trap, even not in situations
where IEEE still demands it.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)