[m68k] return values
Mark Kettenis
mark.kettenis@xs4all.nl
Sun Jun 18 01:23:00 GMT 2006
> Date: Fri, 09 Jun 2006 14:05:23 +0100
> From: Nathan Sidwell <nathan@codesourcery.com>
>
> this is a reworking of my recent return value patch. this patch
> just contains changes to select which register contains a pointer
> value, and how structure return values are located.
>
> I've added tdep field 'ptr_value_regnum' to accommodate the
> different ABIs that return in %d0 or %a0.
>
> Most of the patch is adding the necessary pieces to the os sniffers to
> initialize that value.
>
> ok?
Please don't check this in until I've reviewed this. Some time ago
(two years?) I did examine very carefully what ABI's where in you use
for Linux, NetBSD/m68k and OpenBSD/m68k, and some of the things in
your patch seem to contradict what I learned back then.
I will try to look at it ASAP.
Mark
More information about the Gdb-patches
mailing list