diff options
author | Mark Kettenis <kettenis@gnu.org> | 2003-09-13 14:12:41 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2003-09-13 14:12:41 +0000 |
commit | 7f96f145ea4e90fa5e8d909a98b904a4c5ef9d85 (patch) | |
tree | 12dcdf9e8285f9e29e66e92bc67e8feb7df92736 /gdb/infcall.c | |
parent | 2a1a7158c9996600aed248f50060bb976ffcd66c (diff) | |
download | gdb-7f96f145ea4e90fa5e8d909a98b904a4c5ef9d85.tar.gz |
* 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.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c index 2f60c00d009..a33cdd24511 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. */ |