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.
This commit is contained in:
Ulrich Weigand
2007-06-18 18:25:59 +00:00
parent cbf3b44a9f
commit b187c47613
5 changed files with 12 additions and 16 deletions

View File

@@ -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)
{