This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
Re: exp/2150: floating-point infinity value is wrongly displayedas 0 on AMD64
- From: Daniel Jacobowitz <drow at false dot org>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 31 Jul 2007 15:38:01 -0000
- Subject: Re: exp/2150: floating-point infinity value is wrongly displayedas 0 on AMD64
- Reply-to: Daniel Jacobowitz <drow at false dot org>
The following reply was made to PR exp/2150; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@false.org>
To: gawrilow@math.tu-berlin.de, Patrik Jonsson <patrik@ucolick.org>
Cc: gdb-gnats@sources.redhat.com
Subject: Re: exp/2150: floating-point infinity value is wrongly displayed
as 0 on AMD64
Date: Tue, 31 Jul 2007 11:37:23 -0400
On Fri, Jul 21, 2006 at 12:58:18PM -0000, gawrilow@math.tu-berlin.de wrote:
> The commands showing program data (print, return, etc.) print '0' instead of 'inf' when fed with a floating-point infinite value (e.g. std::numeric_limits<double>::infinity() in C++).
Could you please try a CVS snapshot (see http://sourceware.org/gdb/)?
I believe this will be fixed in the next release.
--
Daniel Jacobowitz
CodeSourcery