diff options
author | Andrew Cagney <cagney@redhat.com> | 2000-04-17 02:27:37 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2000-04-17 02:27:37 +0000 |
commit | bc1821e659134bd92db6c633bb853b4582f982a2 (patch) | |
tree | 1fde39944b2141112bffada6ccd581f6248e91bd /gdb/valops.c | |
parent | 0ce865f26fcb424b6202a701040973cc1fdde62a (diff) | |
download | gdb-bc1821e659134bd92db6c633bb853b4582f982a2.zip gdb-bc1821e659134bd92db6c633bb853b4582f982a2.tar.gz gdb-bc1821e659134bd92db6c633bb853b4582f982a2.tar.bz2 |
* remote.c (REMOTE_TRANSLATE_XFER_ADDRESS), mem-break.c
(MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT), target.h
(BREAKPOINT_FROM_PC), valops.c (COERCE_FLOAT_TO_DOUBLE),
gdbarch.sh (D10V_MAKE_DADDR, D10V_MAKE_IADDR,
FRAMELESS_FUNCTION_INVOCATION, REGISTER_CONVERTIBLE,
REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW,
REGISTER_NAME), findvar.c (POINTER_TO_ADDRESS,
ADDRESS_TO_POINTER): Delete default definition. Handled by
gdbarch.
* gdbarch.sh: Make multi-arch defaults, defaults for non-
multi-arch targets.
(REGISTER_NAME, COERCE_FLOAT_TO_DOUBLE, REGISTER_CONVERTIBLE,
REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW,
D10V_MAKE_DADDR, D10V_MAKE_IADDR, BREAKPOINT_FROM_PC,
MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT,
REMOTE_TRANSLATE_XFER_ADDRESS, FRAMELESS_FUNCTION_INVOCATION):
Provide default/legacy implementation.
(REGISTER_NAMES, CALL_DUMMY): Allow legacy definition.
* gdbarch.h, gdbarch.c: Re-generate.
Diffstat (limited to 'gdb/valops.c')
-rw-r--r-- | gdb/valops.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/valops.c b/gdb/valops.c index e734877..3198741 100644 --- a/gdb/valops.c +++ b/gdb/valops.c @@ -1128,18 +1128,6 @@ default_push_arguments (nargs, args, sp, struct_return, struct_addr) } -/* If we're calling a function declared without a prototype, should we - promote floats to doubles? FORMAL and ACTUAL are the types of the - arguments; FORMAL may be NULL. - - If we have no definition for this macro, either from the target or - from gdbarch, provide a default. */ -#ifndef COERCE_FLOAT_TO_DOUBLE -#define COERCE_FLOAT_TO_DOUBLE(formal, actual) \ - (default_coerce_float_to_double ((formal), (actual))) -#endif - - /* A default function for COERCE_FLOAT_TO_DOUBLE: do the coercion only when we don't have any type for the argument at hand. This occurs when we have no debug info, or when passing varargs. |