From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18052 invoked by alias); 11 Apr 2008 14:31:53 -0000 Received: (qmail 18017 invoked by uid 22791); 11 Apr 2008 14:31:51 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 11 Apr 2008 14:31:33 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 711EA6D4312; Fri, 11 Apr 2008 16:31:29 +0200 (CEST) Date: Fri, 11 Apr 2008 15:02:00 -0000 From: Corinna Vinschen To: gdb@sourceware.org Subject: Re: Support for multiple calling conventions Message-ID: <20080411143129.GM23852@calimero.vinschen.de> Reply-To: gdb@sourceware.org Mail-Followup-To: gdb@sourceware.org References: <20080411105231.GG23852@calimero.vinschen.de> <20080411121907.GA1709@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080411121907.GA1709@caradoc.them.org> User-Agent: Mutt/1.5.16 (2007-06-09) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-04/txt/msg00098.txt.bz2 On Apr 11 08:19, Daniel Jacobowitz wrote: > On Fri, Apr 11, 2008 at 12:52:31PM +0200, Corinna Vinschen wrote: > > - The return_value functions get the function type as argument, > > not the value type. They have to retrieve the value type from > > the function type themselves. > > > > - The return_value functions get an addition function type argument. > > > > - The return_value functions get an addition `unsigned calling_convention' > > argument. > > IMO adding the function type is best. It's more extensible than > adding a calling convention argument which most platforms won't need, > and it changes the signature so that no one will get confused which > type is passed. Thanks. I'll implement it this way next week. It's just a pity that so much code has to be touched for such a rather tiny addition... Corinna -- Corinna Vinschen Cygwin Project Co-Leader Red Hat