diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-09-24 17:16:53 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-09-24 17:16:53 +0000 |
commit | e8e46f78df722854f4da3922d1529aacd387a231 (patch) | |
tree | 0526e60d6a2e6d6c72673b565180b0ebce4d3e5b /gdb/valarith.c | |
parent | 555e77866119a37b58db92689e3f4f056efe40d4 (diff) | |
download | gdb-e8e46f78df722854f4da3922d1529aacd387a231.tar.gz |
* 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.
Diffstat (limited to 'gdb/valarith.c')
-rw-r--r-- | gdb/valarith.c | 3 |
1 files changed, 1 insertions, 2 deletions
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 && |