[patch rfc] Deprecate STORE_STRUCT_RETURN, make optional

Andrew Cagney ac131313@redhat.com
Mon Mar 24 18:43:00 GMT 2003


Hello,

This deprecates the STORE_STRUCT_RETURN method (and makes it optional).

The existing PUSH_ARGUMENTS method can, and in many cases, does the 
struct return store.  In fact, STORE_STRUCT_RETURN implementations are 
often no more than:

static void
i386_store_struct_return (CORE_ADDR addr, CORE_ADDR sp)
{
   /* Do nothing.  Everything was already done by i386_push_arguments.  */
}

For the d10v, it eliminates that function.

I'll commit in a day or so (most likely before commiting the 
push_dummy_call() change).

Andrew

PS: This one was never documented.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: diffs
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20030324/fa4f6806/attachment.ksh>


More information about the Gdb-patches mailing list