summaryrefslogtreecommitdiff
path: root/gdb/stabsread.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-09-24 17:16:53 +0000
committerAndrew Cagney <cagney@redhat.com>2001-09-24 17:16:53 +0000
commite8e46f78df722854f4da3922d1529aacd387a231 (patch)
tree0526e60d6a2e6d6c72673b565180b0ebce4d3e5b /gdb/stabsread.c
parent555e77866119a37b58db92689e3f4f056efe40d4 (diff)
downloadgdb-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/stabsread.c')
-rw-r--r--gdb/stabsread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/stabsread.c b/gdb/stabsread.c
index 87cf76801c3..206392305db 100644
--- a/gdb/stabsread.c
+++ b/gdb/stabsread.c
@@ -1491,7 +1491,7 @@ define_symbol (CORE_ADDR valu, char *string, int desc, int type,
dbl_valu = (char *)
obstack_alloc (&objfile->symbol_obstack,
TYPE_LENGTH (SYMBOL_TYPE (sym)));
- store_floating (dbl_valu, TYPE_LENGTH (SYMBOL_TYPE (sym)), d);
+ store_typed_floating (dbl_valu, SYMBOL_TYPE (sym), d);
SYMBOL_VALUE_BYTES (sym) = dbl_valu;
SYMBOL_CLASS (sym) = LOC_CONST_BYTES;
}