aboutsummaryrefslogtreecommitdiff
path: root/gdb/arch-utils.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-06-18 18:25:59 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-06-18 18:25:59 +0000
commitb187c476136b7a8cfb6efa7a772896241be172fe (patch)
tree934a437e75766a271ffc882998ade929c286b77c /gdb/arch-utils.c
parentcbf3b44a9fd8240ea5f6daef05f7d43020f9fcc0 (diff)
downloadgdb-b187c476136b7a8cfb6efa7a772896241be172fe.zip
gdb-b187c476136b7a8cfb6efa7a772896241be172fe.tar.gz
gdb-b187c476136b7a8cfb6efa7a772896241be172fe.tar.bz2
2007-06-18 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (DEPRECATED_USE_STRUCT_CONVENTION): Replace by gdbarch_deprecated_use_struct_convention. * arch-utils.c (legacy_return_value): Likewise. * gdbarch.c, gdbarch.h: Regenerate.
Diffstat (limited to 'gdb/arch-utils.c')
-rw-r--r--gdb/arch-utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/arch-utils.c b/gdb/arch-utils.c
index 7a154ba..687dc22 100644
--- a/gdb/arch-utils.c
+++ b/gdb/arch-utils.c
@@ -54,7 +54,8 @@ legacy_return_value (struct gdbarch *gdbarch, struct type *valtype,
int struct_return = ((TYPE_CODE (valtype) == TYPE_CODE_STRUCT
|| TYPE_CODE (valtype) == TYPE_CODE_UNION
|| TYPE_CODE (valtype) == TYPE_CODE_ARRAY)
- && DEPRECATED_USE_STRUCT_CONVENTION (0, valtype));
+ && gdbarch_deprecated_use_struct_convention
+ (current_gdbarch, 0, valtype));
if (writebuf != NULL)
{