Article View: gnu.gdb.bug
Article #2117Re: numeric_limits<float>::max
From: Michael Elizabeth Chastain
Date: Fri, 10 May 2002 17:06
Date: Fri, 10 May 2002 17:06
30 lines
1704 bytes
1704 bytes
(My previous message to the mailing list bounced, so this is a duplicate). Gabriel Zachmann writes: > I have a funny problem with gdb (GNU gdb Red Hat Linux (5.1-1)): gdb had problems like this with floating point initialization back in the gdb 5.1 / Red Hat Linux 6.2 days. It's unclear whether your gdb is version 5.1-1 or your Red Hat Linux is version 5.1-1. Either way, please download gdb 5.2 from: ftp://ftp.gnu.org/pub/gnu/gdb/gdb-5.2.tar.gz Also, if your Red Hat Linux is older than Red Hat Linux 7, upgrade to one of the 7 series (RHL 7.2 or RHL 7.3). It's possible that you can work around the problem by adding some floating point statements to your program. Something like: auto double d = 0.0; before the other code is getting executed (at the top of main, or in a static constructor before your other static constructors). Hope this helps, Michael C
Technical Details
Message-ID:
<200205101706.g4AH6D103626@duracef.shout.net>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!news-out.visi.com!hermes.visi.com!uunet!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdbShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5053,928e9af52e3d56e8 X-Google-Attributes: gidf5053,public X-Google-ArrivalTime: 2002-05-10 10:07:11 PST x-uunet-gateway: mr1.ash.ops.us.uu.net from bug-gdb to gnu.gdb.bug; Fri, 10 May 2002 17:07:09 GMT Date: Fri, 10 May 2002 12:06:13 -0500 From: mec@shout.net (Michael Elizabeth Chastain) Message-ID: <200205101706.g4AH6D103626@duracef.shout.net> Subject: Re: numeric_limits<float>::max Approved: bug-gdb-request@mail.gnu.org Newsgroups: gnu.gdb.bug Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!news-out.visi.com!hermes.visi.com!uunet!ash.uu.net!spool0901.news.uu.net!wendy-fate.uu.net!bug-gdb Sender: bug-gdb-request@mail.gnu.org Lines: 30