aboutsummaryrefslogtreecommitdiff
path: root/gdb/mcore-tdep.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/mcore-tdep.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/mcore-tdep.c')
-rw-r--r--gdb/mcore-tdep.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/mcore-tdep.c b/gdb/mcore-tdep.c
index 1c9eafe..f8f7b8e 100644
--- a/gdb/mcore-tdep.c
+++ b/gdb/mcore-tdep.c
@@ -916,11 +916,11 @@ mcore_push_return_address (CORE_ADDR pc, CORE_ADDR sp)
argument.
For gdb, this leaves us two routes, based on what
- USE_STRUCT_CONVENTION (mcore_use_struct_convention) returns. If
- this macro returns 1, gdb will call STORE_STRUCT_RETURN to store
- the return value.
+ DEPRECATED_USE_STRUCT_CONVENTION (mcore_use_struct_convention)
+ returns. If this macro returns 1, gdb will call
+ STORE_STRUCT_RETURN to store the return value.
- If USE_STRUCT_CONVENTION returns 0, then gdb uses
+ If DEPRECATED_USE_STRUCT_CONVENTION returns 0, then gdb uses
STORE_RETURN_VALUE and EXTRACT_RETURN_VALUE to store/fetch the
functions return value. */
@@ -1074,7 +1074,7 @@ mcore_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
/* Stack grows down. */
set_gdbarch_inner_than (gdbarch, core_addr_lessthan);
- set_gdbarch_use_struct_convention (gdbarch, mcore_use_struct_convention);
+ set_gdbarch_deprecated_use_struct_convention (gdbarch, mcore_use_struct_convention);
set_gdbarch_believe_pcc_promotion (gdbarch, 1);
/* MCore will never pass a sturcture by reference. It will always be split
between registers and stack. */