* doublest.c (convert_floatformat_to_doublest): Use
authorDaniel Jacobowitz <drow@false.org>
Fri, 30 Mar 2007 14:31:44 +0000 (14:31 +0000)
committerDaniel Jacobowitz <drow@false.org>
Fri, 30 Mar 2007 14:31:44 +0000 (14:31 +0000)
commit203890574da95d16f8c453491026d349be4b2721
tree710bf3d3ba4bba96d041b36ee261296db68f66a4
parent30b50213ec9759b035bc719efb13ef5e090ed7ef
* 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