From 96d2f608dcfdd177211dbb65b607d3bc03d1b320 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 24 Sep 2001 17:16:53 +0000 Subject: * doublest.h (store_floating, extract_floating): Add comment indicating these functions are deprecated. (extract_typed_floating, store_typed_floating): Declare. * doublest.c: Include "gdbtypes.h". (extract_typed_floating, store_typed_floating): Define. * stabsread.c (define_symbol): Use store_typed_floating. * valarith.c (value_binop): Ditto. * values.c (unpack_long): Use extract_typed_floating. (unpack_double): Ditto. --- gdb/valarith.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gdb/valarith.c') diff --git a/gdb/valarith.c b/gdb/valarith.c index d421a02abd9..e0598d08d7a 100644 --- a/gdb/valarith.c +++ b/gdb/valarith.c @@ -763,8 +763,7 @@ value_binop (value_ptr arg1, value_ptr arg2, enum exp_opcode op) else val = allocate_value (builtin_type_double); - store_floating (VALUE_CONTENTS_RAW (val), TYPE_LENGTH (VALUE_TYPE (val)), - v); + store_typed_floating (VALUE_CONTENTS_RAW (val), VALUE_TYPE (val), v); } else if (TYPE_CODE (type1) == TYPE_CODE_BOOL && -- cgit v1.2.1