This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: mn10300: fix struct returns and SP off after return command
- From: Andrew Cagney <cagney at gnu dot org>
- To: Alexandre Oliva <aoliva at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 07 Jun 2004 10:25:14 -0400
- Subject: Re: mn10300: fix struct returns and SP off after return command
- References: <or7juorhqy.fsf@livre.redhat.lsd.ic.unicamp.br>
@@ -1176,8 +1314,7 @@ mn10300_gdbarch_init (struct gdbarch_inf
set_gdbarch_deprecated_frame_init_saved_regs (gdbarch, mn10300_frame_init_saved_regs);
set_gdbarch_deprecated_frame_chain (gdbarch, mn10300_frame_chain);
set_gdbarch_deprecated_frame_saved_pc (gdbarch, mn10300_frame_saved_pc);
- set_gdbarch_deprecated_extract_return_value (gdbarch, mn10300_extract_return_value);
- set_gdbarch_deprecated_store_return_value (gdbarch, mn10300_store_return_value);
+ set_gdbarch_return_value (gdbarch, mn10300_return_value);
set_gdbarch_deprecated_store_struct_return (gdbarch, mn10300_store_struct_return);
set_gdbarch_deprecated_pop_frame (gdbarch, mn10300_pop_frame);
set_gdbarch_skip_prologue (gdbarch, mn10300_skip_prologue);
@@ -1189,7 +1326,6 @@ mn10300_gdbarch_init (struct gdbarch_inf
set_gdbarch_deprecated_reg_struct_has_addr
(gdbarch, mn10300_reg_struct_has_addr);
set_gdbarch_deprecated_push_return_address (gdbarch, mn10300_push_return_address);
- set_gdbarch_use_struct_convention (gdbarch, mn10300_use_struct_convention);
tdep->am33_mode = am33_mode;
Ok.
Andrew