From: Jim Kingdon Date: Sun, 31 Oct 1993 20:45:41 +0000 (+0000) Subject: * values.c (unpack_long, unpack_double, value_from_double), X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73edb321e3468d6504c7e27e6550cc6dc5c6c175;p=binutils-gdb.git * values.c (unpack_long, unpack_double, value_from_double), valarith.c (value_binop), stabsread.c (define_symbol): Use extract_floating and store_floating instead of SWAP_TARGET_AND_HOST. --- diff --git a/gdb/stabsread.c b/gdb/stabsread.c index 71a806e8df8..befb564479e 100644 --- a/gdb/stabsread.c +++ b/gdb/stabsread.c @@ -629,7 +629,7 @@ define_symbol (valu, string, desc, type, objfile) dbl_valu = (char *) obstack_alloc (&objfile -> symbol_obstack, TYPE_LENGTH (SYMBOL_TYPE (sym))); - store_floating (dbl_valu, TYPE_LENGTH (SYMBOL_TYPE (sym))); + store_floating (dbl_valu, TYPE_LENGTH (SYMBOL_TYPE (sym)), d); SYMBOL_VALUE_BYTES (sym) = dbl_valu; SYMBOL_CLASS (sym) = LOC_CONST_BYTES; }