summaryrefslogtreecommitdiff
path: root/gdb/mcore-tdep.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2003-09-13 23:25:41 +0000
committerMark Kettenis <kettenis@gnu.org>2003-09-13 23:25:41 +0000
commit2110b94ffc329cf7e105b951433c5ad42332a916 (patch)
tree2646a9af879523c78d1052eee262f7d62252b311 /gdb/mcore-tdep.c
parent48436ce6b9d02c4f4f9e3628e3dbe8247841fda9 (diff)
downloadbinutils-gdb-2110b94ffc329cf7e105b951433c5ad42332a916.tar.gz
* cris-tdep.c (cris_gdbarch_init): Set
deprecated_reg_struct_has_addr instead of reg_struct_has_addr. * hppa-tdep.c (hppa_gdbarch_init): Likewise. * mcore-tdep.c (mcore_gdbarch_init): Likewise. * mips-tdep.c (mips_gdbarch_init): Likewise. * mn10300-tdep.c (mn10300_gdbarch_init): Likewise. * sparc-tdep.c (sparc_gdbarch_init): Likewise.
Diffstat (limited to 'gdb/mcore-tdep.c')
-rw-r--r--gdb/mcore-tdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/mcore-tdep.c b/gdb/mcore-tdep.c
index ac76c17dc11..cec5d3fa4e9 100644
--- a/gdb/mcore-tdep.c
+++ b/gdb/mcore-tdep.c
@@ -1115,7 +1115,8 @@ mcore_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
set_gdbarch_believe_pcc_promotion (gdbarch, 1);
/* MCore will never pass a sturcture by reference. It will always be split
between registers and stack. */
- set_gdbarch_reg_struct_has_addr (gdbarch, mcore_reg_struct_has_addr);
+ set_gdbarch_deprecated_reg_struct_has_addr
+ (gdbarch, mcore_reg_struct_has_addr);
/* Should be using push_dummy_call. */
set_gdbarch_deprecated_dummy_write_sp (gdbarch, deprecated_write_sp);