* 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)
commit39424bef9143202f0b7fc25b73c81db580eb253c
treeb0005bf91d34da2269e757c75722bbd9ed51139f
parentbcdd92f3e09bfbb42f46281bab7619f8c40d10a3
* 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