This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] replace stub fn mips_eabi_return_value
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Michael Snyder <msnyder at redhat dot com>
- Cc: GDB Patches <gdb-patches at sources dot redhat dot com>, Fred Fish <fnf at specifix dot com>
- Date: Fri, 9 Jun 2006 11:40:26 -0700
- Subject: Re: [RFA] replace stub fn mips_eabi_return_value
- References: <447E2CF3.4070102@redhat.com>
> 2006-05-31 Michael Snyder <msnyder@redhat.com>
>
> * mips-tdep.c (mips_eabi_return_value): Replace stub that always
> returned RETURN_VALUE_STRUCT_CONVENTION with a real function.
This looks OK to me. Just make sure to remove the two commented out
lines of code in the last "for" block.
Thanks.
> ! for (offset = 0;
> ! offset < TYPE_LENGTH (type);
> ! /* offset += register_size (gdbarch, regnum), regnum++) */
> ! offset += mips_stack_argsize (gdbarch), regnum++)
> ! {
> ! /* xfer = register_size (gdbarch, regnum); */
--
Joel