This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Allow struct 'return' on 32-bit sparc.
From: David Miller <davem@davemloft.net>
Date: Mon, 04 Feb 2013 20:02:54 -0500 (EST)
> Here is the updated patch:
>
> gdb/
>
> * sparc-tdep.c (sparc32_return_value): Handle writing return value when
> using RETURN_VALUE_ABI_PRESERVES_ADDRESS.
> * value.c (struct_return_convention): New function.
> (using_struct_return): Implement in terms of struct_return_convention.
> * value.h (struct_return_convention): Declare.
> * stack.c (return_command): Allow successful overriding of the return
> value when RETURN_VALUE_ABI_PRESERVES_ADDRESS.
I've committed these changes.