This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] replace stub fn mips_eabi_return_value


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]