This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [m68k] return values
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: nathan at codesourcery dot com
- Cc: gdb-patches at sourceware dot org, schwab at suse dot de
- Date: Sun, 18 Jun 2006 03:22:15 +0200 (CEST)
- Subject: Re: [m68k] return values
- References: <44897213.3070309@codesourcery.com>
> 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