This is the mail archive of the gdb-patches@sourceware.org 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: [m68k] return values


> 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


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