From bc1821e659134bd92db6c633bb853b4582f982a2 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 17 Apr 2000 02:27:37 +0000 Subject: * 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. --- gdb/valops.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'gdb/valops.c') 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. -- cgit v1.1