* values.c (unpack_long, unpack_double, value_from_double),
authorJim Kingdon <jkingdon@engr.sgi.com>
Sun, 31 Oct 1993 20:45:41 +0000 (20:45 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Sun, 31 Oct 1993 20:45:41 +0000 (20:45 +0000)
valarith.c (value_binop), stabsread.c (define_symbol):
Use extract_floating and store_floating instead of
SWAP_TARGET_AND_HOST.

gdb/stabsread.c

index 71a806e8df866e683a7c3f22a0bae290eae4da7f..befb564479e1acc23849bff804a4d1f1448b5a75 100644 (file)
@@ -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;
          }