aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcall.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-09-13 14:12:41 +0000
committerMark Kettenis <kettenis@gnu.org>2003-09-13 14:12:41 +0000
commit8e823e250401438d65d778ef0bbac70cb56d0bcc (patch)
tree7287bd3bddc0b3532579042030fe39118ab9b16f /gdb/infcall.c
parentebf7d56bcfb4511e7e9e38b5aee93ead749a5406 (diff)
downloadgdb-8e823e250401438d65d778ef0bbac70cb56d0bcc.zip
gdb-8e823e250401438d65d778ef0bbac70cb56d0bcc.tar.gz
gdb-8e823e250401438d65d778ef0bbac70cb56d0bcc.tar.bz2
* gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Renamed from
REG_STRUCT_HAS_ADDR. * gdbarch.c, gdbarch.h: Updated. * infcall.c (call_function_by_hand): Update. * stabsread.c (define_symbol): Updated.
Diffstat (limited to 'gdb/infcall.c')
-rw-r--r--gdb/infcall.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c
index 2f60c00..a33cdd2 100644
--- a/gdb/infcall.c
+++ b/gdb/infcall.c
@@ -664,7 +664,7 @@ You must use a pointer to function type variable. Command ignored.", arg_name);
}
}
- if (REG_STRUCT_HAS_ADDR_P ())
+ if (DEPRECATED_REG_STRUCT_HAS_ADDR_P ())
{
int i;
/* This is a machine like the sparc, where we may need to pass a
@@ -681,7 +681,7 @@ You must use a pointer to function type variable. Command ignored.", arg_name);
|| (TYPE_CODE (arg_type) == TYPE_CODE_FLT
&& TYPE_LENGTH (arg_type) > 8)
)
- && REG_STRUCT_HAS_ADDR (using_gcc, arg_type))
+ && DEPRECATED_REG_STRUCT_HAS_ADDR (using_gcc, arg_type))
{
CORE_ADDR addr;
int len; /* = TYPE_LENGTH (arg_type); */
@@ -760,8 +760,8 @@ You must use a pointer to function type variable. Command ignored.", arg_name);
/* elz: on HPPA no need for this extra alignment, maybe it is needed
on other architectures. This is because all the alignment is
- taken care of in the above code (ifdef REG_STRUCT_HAS_ADDR) and
- in hppa_push_arguments */
+ taken care of in the above code (ifdef DEPRECATED_REG_STRUCT_HAS_ADDR)
+ and in hppa_push_arguments */
/* NOTE: cagney/2003-03-24: The below code is very broken. Given an
odd sized parameter the below will mis-align the stack. As was
suggested back in '96, better to let PUSH_ARGUMENTS handle it. */