From 19912ce42274f411351d5b02eaf8054c6546e669 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Mon, 18 May 2009 13:43:34 +0000 Subject: * 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. --- gdb/doublest.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'gdb/doublest.h') diff --git a/gdb/doublest.h b/gdb/doublest.h index 9bf046a7905..1fe15d43fd3 100644 --- a/gdb/doublest.h +++ b/gdb/doublest.h @@ -85,17 +85,6 @@ extern enum float_kind floatformat_classify (const struct floatformat *, extern const char *floatformat_mantissa (const struct floatformat *, const bfd_byte *); -/* These functions have been replaced by extract_typed_floating and - store_typed_floating. - - Most calls are passing in TYPE_LENGTH (TYPE) so can be changed to - just pass the TYPE. The remainder pass in the length of a - register, those calls should instead pass in the floating point - type that corresponds to that length. */ - -extern DOUBLEST deprecated_extract_floating (const void *addr, int len); -extern void deprecated_store_floating (void *addr, int len, DOUBLEST val); - /* Given TYPE, return its floatformat. TYPE_FLOATFORMAT() may return NULL. type_floatformat() detects that and returns a floatformat based on the type size when FLOATFORMAT is NULL. */ -- cgit v1.2.1