From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11044 invoked by alias); 18 Jun 2006 01:23:41 -0000 Received: (qmail 11036 invoked by uid 22791); 18 Jun 2006 01:23:40 -0000 X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO sibelius.xs4all.nl) (82.92.89.47) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 18 Jun 2006 01:23:38 +0000 Received: from elgar.sibelius.xs4all.nl (root@elgar.sibelius.xs4all.nl [192.168.0.2]) by sibelius.xs4all.nl (8.13.4/8.13.4) with ESMTP id k5I1MFrO024746; Sun, 18 Jun 2006 03:22:15 +0200 (CEST) Received: from elgar.sibelius.xs4all.nl (kettenis@localhost.sibelius.xs4all.nl [127.0.0.1]) by elgar.sibelius.xs4all.nl (8.13.6/8.13.6) with ESMTP id k5I1MFWB013953; Sun, 18 Jun 2006 03:22:15 +0200 (CEST) Received: (from kettenis@localhost) by elgar.sibelius.xs4all.nl (8.13.6/8.13.6/Submit) id k5I1MF4M006185; Sun, 18 Jun 2006 03:22:15 +0200 (CEST) Date: Sun, 18 Jun 2006 01:23:00 -0000 Message-Id: <200606180122.k5I1MF4M006185@elgar.sibelius.xs4all.nl> From: Mark Kettenis To: nathan@codesourcery.com CC: gdb-patches@sourceware.org, schwab@suse.de In-reply-to: <44897213.3070309@codesourcery.com> (message from Nathan Sidwell on Fri, 09 Jun 2006 14:05:23 +0100) Subject: Re: [m68k] return values References: <44897213.3070309@codesourcery.com> Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00251.txt.bz2 > Date: Fri, 09 Jun 2006 14:05:23 +0100 > From: Nathan Sidwell > > 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