src/gdb ChangeLog doublest.c doublest.h

kettenis@sourceware.cygnus.com kettenis@sourceware.cygnus.com
Sun Oct 28 14:06:00 GMT 2001


CVSROOT:	/cvs/src
Module name:	src
Changes by:	kettenis@sources.redhat.com	2001-10-28 14:06:27

Modified files:
	gdb            : ChangeLog doublest.c doublest.h 

Log message:
	* doublest.c: Improve comments a bit.
	(floatformat_from_length): New function.
	(NAN): Define to 0.0 if not already defined.
	(extract_floating): Rewrite to use floatformat_from_length.  Warn
	instead of error if LEN doesn't match a known floating-point type,
	and return NaN (or 0.0 if NaN isn't available) in that case.
	(store_floating): Likewise, but zero out the target byte-stream if
	LEN doesn't match a known floating-point type.
	(extract_typed_floating): Reformat a bit.
	(store_typed_floating): Reformat a bit.  Add comment about zeroing
	out padding in the target buffer.
	* doublest.h (extract_floating, store_floating): Fix comment about
	deprecation of these functions.  Add parameter names to prototypes.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.1684&r2=1.1685
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/doublest.c.diff?cvsroot=src&r1=1.4&r2=1.5
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/doublest.h.diff?cvsroot=src&r1=1.5&r2=1.6



More information about the Gdb-cvs mailing list