OSDN Git Service

* doublest.c (convert_floatformat_to_doublest): Use
authordrow <drow>
Fri, 30 Mar 2007 14:31:44 +0000 (14:31 +0000)
committerdrow <drow>
Fri, 30 Mar 2007 14:31:44 +0000 (14:31 +0000)
commitd97c9f58b8aeb4d4e6173cd999f45a6a34f72885
tree37eafb72e484a4c4226cca310c467e31db7ca258
parentb90c8855e1f988c714da24bab6b2b4843f06bed4
* 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