OSDN Git Service

* defs.h: Provide prototypes for floatformat_is_negative,
authorMark Kettenis <kettenis@gnu.org>
Wed, 7 Mar 2001 16:09:03 +0000 (16:09 +0000)
committerMark Kettenis <kettenis@gnu.org>
Wed, 7 Mar 2001 16:09:03 +0000 (16:09 +0000)
commita58d8d524c1b4194037fff91f01d26433a014290
treeb203cd61c8a496b3b99db53bd0dc3b1f0bd6fa16
parentcc394d5744604833ed6cdd5f7c7c6b0d58277c09
* defs.h: Provide prototypes for floatformat_is_negative,
floatformat_is_nan and floatformat_mantissa.
* utils.c: Include "gdb_assert.h".
(floatformat_is_negative): New function.
(floatformat_is_nan): New function.
(floatformat_mantissa): New function.
* valprint.c: Include "floatformat.h".
(print_floating): Get rid of the Linux-specific
TARGET_ANALYZE_FLOATING macro and rewrite NaN detection with the
help these new functions.  Print NaN's in a format conforming to
ISO C99.
gdb/ChangeLog
gdb/defs.h
gdb/utils.c
gdb/valprint.c