aboutsummaryrefslogtreecommitdiff
path: root/gdb/scm-lang.c
diff options
context:
space:
mode:
authorRichard Earnshaw <richard.earnshaw@arm.com>2004-12-05 15:17:34 +0000
committerRichard Earnshaw <richard.earnshaw@arm.com>2004-12-05 15:17:34 +0000
commitfcab3fb53bfaf92360e8fde4fae2fda675c614bd (patch)
tree69b784165d9465e80964be7805dfbf7ae4156bdb /gdb/scm-lang.c
parent0e1200e5933a00411a31957a3bf7427c1f0a6035 (diff)
downloadgdb-fcab3fb53bfaf92360e8fde4fae2fda675c614bd.zip
gdb-fcab3fb53bfaf92360e8fde4fae2fda675c614bd.tar.gz
gdb-fcab3fb53bfaf92360e8fde4fae2fda675c614bd.tar.bz2
* 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.
Diffstat (limited to 'gdb/scm-lang.c')
0 files changed, 0 insertions, 0 deletions