OSDN Git Service

Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control.
authorjimb <jimb>
Tue, 22 Feb 2000 19:17:27 +0000 (19:17 +0000)
committerjimb <jimb>
Tue, 22 Feb 2000 19:17:27 +0000 (19:17 +0000)
commit3966baf8e422f90f75ab24542f48bd8d6c1cc102
tree80f3d97e93772c002d59a69c53835c648dcef95b
parentbd382dd6400ad90929f712d1a174b8594adebd89
Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control.
* valops.c (COERCE_FLOAT_TO_DOUBLE): Rework definition to be
more function-like.
(default_coerce_float_to_double, standard_coerce_float_to_double):
New functions.
(value_arg_coerce): Adjust for new definition.
* value.h (default_coerce_float_to_double,
standard_coerce_float_to_double): New declarations for the above.
* gdbarch.sh (coerce_float_to_double): New entry, replacing macro.
* gdbarch.c, gdbarch.h: Regenerated.
* tm-alpha.h, tm-fr30.h, tm-m32r.h, tm-mips.h, tm-hppa.h,
tm-rs6000.h, tm-sh.h, tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Change
definitions.
* mips-tdep.c (mips_coerce_float_to_double): Supply our own custom
function here.
(mips_gdbarch_init): Install that as our coerce_float_to_double
function.
gdb/gdbarch.c
gdb/gdbarch.h
gdb/mips-tdep.c
gdb/valops.c
gdb/value.h