aboutsummaryrefslogtreecommitdiff
path: root/gdb/values.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2004-06-20 17:18:07 +0000
committerAndrew Cagney <cagney@redhat.com>2004-06-20 17:18:07 +0000
commitb5622e8d3cc3ba6ed60cbfee39a9c094074e27a1 (patch)
tree5111553abaaad83e79bc461aafbc04bff2df3d2b /gdb/values.c
parent08d64263e1b04a31907bfb49e0383aec83dd6e0c (diff)
downloadgdb-b5622e8d3cc3ba6ed60cbfee39a9c094074e27a1.zip
gdb-b5622e8d3cc3ba6ed60cbfee39a9c094074e27a1.tar.gz
gdb-b5622e8d3cc3ba6ed60cbfee39a9c094074e27a1.tar.bz2
2004-06-20 Andrew Cagney <cagney@gnu.org>
* gdbarch.sh (DEPRECATED_USE_STRUCT_CONVENTION): Deprecated. * gdbarch.h, gdbarch.c: Re-generate. * values.c (using_struct_return): Update call. * mcore-tdep.c: Update comment. * infcall.c (call_function_by_hand): Update comment. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. * arch-utils.h (always_use_struct_convention): Update. * v850-tdep.c (v850_gdbarch_init): Update. * sh64-tdep.c (sh64_gdbarch_init): Update. * sh-tdep.c (sh_gdbarch_init): Update. * rs6000-tdep.c (rs6000_gdbarch_init): Update. * mips-tdep.c (mips_gdbarch_init): Update. * mcore-tdep.c (mcore_gdbarch_init): Update. * m32r-tdep.c (m32r_gdbarch_init): Update. * ia64-tdep.c (ia64_gdbarch_init): Update. * h8300-tdep.c (h8300_gdbarch_init): Update. * frv-tdep.c (frv_gdbarch_init): Update. * cris-tdep.c (cris_gdbarch_init): Update. * arm-tdep.c (arm_gdbarch_init): Update. * alpha-tdep.c (alpha_gdbarch_init): Update. Index: doc/ChangeLog 2004-06-20 Andrew Cagney <cagney@gnu.org> * gdbint.texinfo (Target Architecture Definition): Deprecate USE_STRUCT_CONVENTION.
Diffstat (limited to 'gdb/values.c')
-rw-r--r--gdb/values.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/values.c b/gdb/values.c
index de3ce9f..1b8e9b4 100644
--- a/gdb/values.c
+++ b/gdb/values.c
@@ -1256,7 +1256,7 @@ using_struct_return (struct type *value_type, int gcc_p)
if (code == TYPE_CODE_STRUCT
|| code == TYPE_CODE_UNION
|| code == TYPE_CODE_ARRAY)
- return USE_STRUCT_CONVENTION (gcc_p, value_type);
+ return DEPRECATED_USE_STRUCT_CONVENTION (gcc_p, value_type);
else
return 0;
}