* defs.h, findvar.c (extract_floating, store_floating): New functions.
authorJim Kingdon <jkingdon@engr.sgi.com>
Fri, 29 Oct 1993 18:16:33 +0000 (18:16 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Fri, 29 Oct 1993 18:16:33 +0000 (18:16 +0000)
commitbf5c0d644899aa224fcac5eb0b5dff2002d6448c
treec10acbcabf8139066784b8d7f465617b458dee71
parente1ec9f078ff7293455d25741056f3fa633deaebf
* defs.h, findvar.c (extract_floating, store_floating): New functions.
* Move SWAP_TARGET_AND_HOST from defs.h to findvar.c because it is
now used only by extract_floating and store_floating.
* valprint.c (print_floating): Use unsigned arithmetic.  Use
extract_unsigned_integer instead of SWAP_TARGET_AND_HOST.
Change sizeof (float) to 4 and sizeof (double) to 8 (those are always
the relevant sizes for this code, which is in #ifdef IEEE_FLOAT).
* 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.
* config/m68k/tm-m68k.h, config/i960/tm-i960.h (REGISTER_CONVERT_*):
Use extract_floating and store_floating.
* config/m88k/tm-m88k.h: Add comments (it should be doing the same).
* i386-tdep.c (i386_extract_return_value),
* remote-nindy.c (nindy_store_registers): Use store_floating.
gdb/ChangeLog
gdb/config/i960/tm-i960.h
gdb/config/m68k/tm-m68k.h
gdb/config/m88k/tm-m88k.h
gdb/remote-nindy.c
gdb/stabsread.c
gdb/values.c