Re: [RFA/commit] (SPARC/LEON) fix incorrect array return value printed by "finish"

Joel Brobecker
2018-05-04T18:34:26Z

> Â  yes.Â  Your fix looks good to me.

Thank you, Vladimir. Patch now pushed to master.

2018-05-04 Joel Brobecker <brobecker@adacore.com>

* sparc-tdep.c (sparc_structure_return_p): Re-implement to
match the ABI as summarized in GCC's gcc/config/sparc/sparc.c.
(sparc_arg_by_memory_p): Renamed from sparc_arg_on_registers_p.
Re-implement to match the ABI as summarized in GCC's
gcc/config/sparc/sparc.c. All callers updated.
(sparc32_store_arguments): Remove assertion.

--
Joel