This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog doublest.c
- From: rearnsha at sourceware dot org
- To: gdb-cvs at sources dot redhat dot com
- Date: 5 Dec 2004 15:17:35 -0000
- Subject: src/gdb ChangeLog doublest.c
CVSROOT: /cvs/src
Module name: src
Changes by: rearnsha@sourceware.org 2004-12-05 15:17:34
Modified files:
gdb : ChangeLog doublest.c
Log message:
* doublest.c (FLOATFORMAT_LARGEST_BYTES): New define.
(get_field, put_field): Assert that the format is one we can handle.
Simplify logic accordingly.
(floatformat_normalize_byteorder): New function.
(convert_floatformat_to_doublest): Use floatformat_normalize_byteorder
to normalize and select modified byte order. Pass modified byte order
to get_field.
(floatformat_is_negative, floatformat_is_nan, floatformat_mantissa):
Likewise.
(convert_doublest_to_floatformat): Select an appropriate intermediate
byte order if necessary. Always convert to the final format before
returning.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.6685&r2=1.6686
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/doublest.c.diff?cvsroot=src&r1=1.22&r2=1.23