OSDN Git Service

Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control.
authorjimb <jimb>
Tue, 22 Feb 2000 19:18:19 +0000 (19:18 +0000)
committerjimb <jimb>
Tue, 22 Feb 2000 19:18:19 +0000 (19:18 +0000)
commitf2727e95f702bdb5157b1dc949ce67cd85e3b8f9
treed515c04742b639c635c5de4fda7ffde87ba73442
parent9cc036010a8b164112723cbefd78c87087107a38
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/config/pa/tm-hppa.h