diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-18 18:19:00 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2007-06-18 18:19:00 +0000 |
commit | e05a2ee33cad2e522e41fb6ecfeac4bf79051969 (patch) | |
tree | b47aeb3fa7d4d97b5e2e72625d9626643dea383d /gdb/infcall.c | |
parent | 91da76742f5caa3f6d08fc29b365ba329ae99c07 (diff) | |
download | gdb-e05a2ee33cad2e522e41fb6ecfeac4bf79051969.tar.gz |
2007-06-18 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Replace by
gdbarch_deprecated_reg_struct_has_addr.
* infcall.c (call_function_by_hand): Likewise.
(DEPRECATED_REG_STRUCT_HAS_ADDR_P): Replace by
* gdbarch_deprecated_reg_struct_has_addr_p.
* infcall.c (call_function_by_hand): Likewise.
* gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/infcall.c')
-rw-r--r-- | gdb/infcall.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/infcall.c b/gdb/infcall.c index 525cf2fd8e8..f7f75f4fd37 100644 --- a/gdb/infcall.c +++ b/gdb/infcall.c @@ -586,7 +586,7 @@ You must use a pointer to function type variable. Command ignored."), arg_name); } } - if (DEPRECATED_REG_STRUCT_HAS_ADDR_P ()) + if (gdbarch_deprecated_reg_struct_has_addr_p (current_gdbarch)) { int i; /* This is a machine like the sparc, where we may need to pass a @@ -603,7 +603,8 @@ 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) ) - && DEPRECATED_REG_STRUCT_HAS_ADDR (using_gcc, arg_type)) + && gdbarch_deprecated_reg_struct_has_addr + (current_gdbarch, using_gcc, arg_type)) { CORE_ADDR addr; int len; /* = TYPE_LENGTH (arg_type); */ |