OSDN Git Service

* doublest.c (convert_floatformat_to_doublest): Use
authorDaniel Jacobowitz <dan@debian.org>
Fri, 30 Mar 2007 14:31:44 +0000 (14:31 +0000)
committerDaniel Jacobowitz <dan@debian.org>
Fri, 30 Mar 2007 14:31:44 +0000 (14:31 +0000)
commite97e48896e60d92e7628d1efaebfd03817f66d71
tree834790db347f3d9c63d9e2100b6560841758a84e
parent43980de7618dd9c5bd3f97c4a6c9f98560e0ad2d
* doublest.c (convert_floatformat_to_doublest): Use
floatformat_classify.
(floatformat_is_nan): Rename to...
(floatformat_classify): ...this.  Return more information.
* doublest.h (enum float_kind): New.
(floatformat_is_nan): Replace prototype...
(floatformat_classify): ...with this one.
* valprint.c (print_floating): Use floatformat_classify.  Handle
infinity.

* gdb.base/infnan.c, gdb.base/infnan.exp: New files.
gdb/ChangeLog
gdb/doublest.c
gdb/doublest.h
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/infnan.c [new file with mode: 0644]
gdb/testsuite/gdb.base/infnan.exp [new file with mode: 0644]
gdb/valprint.c