aboutsummaryrefslogtreecommitdiff
path: root/gdb/stabsread.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-10-31 20:45:41 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-10-31 20:45:41 +0000
commit73edb321e3468d6504c7e27e6550cc6dc5c6c175 (patch)
tree63b4ce0326be281be6cd4ab4faabc47d26563276 /gdb/stabsread.c
parent52912aac0d69a6007d470b4948fcdaa682c12161 (diff)
downloadgdb-73edb321e3468d6504c7e27e6550cc6dc5c6c175.zip
gdb-73edb321e3468d6504c7e27e6550cc6dc5c6c175.tar.gz
gdb-73edb321e3468d6504c7e27e6550cc6dc5c6c175.tar.bz2
* 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.
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 71a806e..befb564 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;
}