[RFA] mips-o64-extract-return-value

Andrew Cagney cagney@gnu.org
Thu Nov 20 01:23:00 GMT 2003


> Hi Andrew,
> 
> This change fixes 100s of FAILs for mips64-elf, 'cause gdb can't
> find the function's return value.  It follows some work that you
> were apparently doing w.r.t. the mips internal register representation.
> 
> I suspect that the same thing needs to be done for mips_eabi_extract...,
> but I haven't tested that.  What do you think?

Ok.

> I'll probably try doing something similar for store_return_value too.

Rather than doing the same thing for store_return_value, take a look at 
the PPC's "ppc_sysv_abi_return_value".

BTW, rumour has it that GCC finally fixed MIPS struct return.
http://gcc.gnu.org/gcc-3.4/mips-abi.html

Andrew




More information about the Gdb-patches mailing list