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 | bceb6e50519a169c044c1d2fef5b3a9f5cda2a06 (patch) | |
tree | 45cf6d3f1487513015e55353bfef207bc55bec4a /gdb/infcall.c | |
parent | 8ed6a7ba981033bf5d572e41e22e1eb860fe24c7 (diff) | |
download | gdb-bceb6e50519a169c044c1d2fef5b3a9f5cda2a06.zip gdb-bceb6e50519a169c044c1d2fef5b3a9f5cda2a06.tar.gz gdb-bceb6e50519a169c044c1d2fef5b3a9f5cda2a06.tar.bz2 |
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 525cf2f..f7f75f4 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); */ |