This is the mail archive of the gdb-patches@sources.redhat.com 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: [patch rfc] Deprecate STORE_STRUCT_RETURN, make optional


I've checked this in.


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.





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