From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28869 invoked by alias); 1 Aug 2006 10:49:30 -0000 Received: (qmail 28861 invoked by uid 22791); 1 Aug 2006 10:49:30 -0000 X-Spam-Check-By: sourceware.org Received: from cam-admin0.cambridge.arm.com (HELO cam-admin0.cambridge.arm.com) (193.131.176.58) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 01 Aug 2006 10:49:26 +0000 Received: from cam-owa1.Emea.Arm.com (cam-owa1.emea.arm.com [10.1.255.62]) by cam-admin0.cambridge.arm.com (8.12.6/8.12.6) with ESMTP id k71AnNGf021670; Tue, 1 Aug 2006 11:49:23 +0100 (BST) Received: from pc960.cambridge.arm.com ([10.1.255.211]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Tue, 1 Aug 2006 11:49:23 +0100 Subject: Re: [PATCH/RFA] Fix returning small structs on OpenBSD/arm From: Richard Earnshaw To: Mark Kettenis Cc: gdb-patches@sourceware.org In-Reply-To: <200607192125.k6JLPmuV014206@elgar.sibelius.xs4all.nl> References: <200607192125.k6JLPmuV014206@elgar.sibelius.xs4all.nl> Content-Type: text/plain Message-Id: <1154429362.16426.54.camel@pc960.cambridge.arm.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 01 Aug 2006 10:49:00 -0000 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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-08/txt/msg00007.txt.bz2 On Wed, 2006-07-19 at 22:25, Mark Kettenis wrote: > On OpenBSD/arm, all structures are returned in memory, i.e. the > -fpcc-struct-return GCC option is the default. There are a couple of > different ways we deal with pcc/reg struct return in GDB. This adapts > the way things are done on i386 and m68k. This makes it easy to > provide a user command to switch from one convention to the other like > i386 already has. However, right now I don't actually see much reason > to add that option on arm. > > Anyway, this shaves another 80 failures from the testsuite on > OpenBSD/arm. > > ok? > Yes, this is fine, thanks. R.