aboutsummaryrefslogtreecommitdiff
path: root/gdb/sh64-tdep.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-05-18 13:43:35 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-05-18 13:43:35 +0000
commite035e3736f445850fa1372f8d2a7f403cf1cf6a7 (patch)
tree119a71eb84046a9fe4a6772a92331a541824b190 /gdb/sh64-tdep.c
parent487df32df7f09e694bc8f4bc9e5aa7f55c50eb58 (diff)
downloadgdb-e035e3736f445850fa1372f8d2a7f403cf1cf6a7.zip
gdb-e035e3736f445850fa1372f8d2a7f403cf1cf6a7.tar.gz
gdb-e035e3736f445850fa1372f8d2a7f403cf1cf6a7.tar.bz2
* doublest.c (NAN): Remove unused define.
(extract_floating_by_length, deprecated_extract_floating): Remove. (store_floating_by_length, deprecated_store_floating): Remove. (extract_typed_floating): Do not call extract_floating_by_length. (store_typed_floating): Do not call store_floating_by_length. (convert_typed_floating): Remove redundant assertions. * doublest.h (deprecated_extract_floating): Remove. (deprecated_store_floating): Remove. * sh64-tdep.c (sh64_register_convert_to_raw): Call extract_typed_floating instead of deprecated_extract_floating.
Diffstat (limited to 'gdb/sh64-tdep.c')
-rw-r--r--gdb/sh64-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sh64-tdep.c b/gdb/sh64-tdep.c
index 567acd3..ab976e2 100644
--- a/gdb/sh64-tdep.c
+++ b/gdb/sh64-tdep.c
@@ -1577,7 +1577,7 @@ sh64_register_convert_to_raw (struct gdbarch *gdbarch, struct type *type,
|| (regnum >= DR0_C_REGNUM
&& regnum <= DR_LAST_C_REGNUM))
{
- DOUBLEST val = deprecated_extract_floating (from, TYPE_LENGTH(type));
+ DOUBLEST val = extract_typed_floating (from, type);
floatformat_from_doublest (&floatformat_ieee_double_littlebyte_bigword,
&val, to);
}