From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25127 invoked by alias); 25 Mar 2003 20:39:51 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 25120 invoked from network); 25 Mar 2003 20:39:50 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 25 Mar 2003 20:39:50 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 2AD752B23; Tue, 25 Mar 2003 15:39:43 -0500 (EST) Message-ID: <3E80BE8F.8090003@redhat.com> Date: Tue, 25 Mar 2003 20:39:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030223 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [patch rfc] Deprecate STORE_STRUCT_RETURN, make optional References: <3E7F51B2.3020708@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-03/txt/msg00503.txt.bz2 I've checked this in. > Hello, > > This deprecates the STORE_STRUCT_RETURN method (and makes it optional). > > The existing PUSH_ARGUMENTS method can, and in many cases, does the struct return store. In fact, STORE_STRUCT_RETURN implementations are often no more than: > > static void > i386_store_struct_return (CORE_ADDR addr, CORE_ADDR sp) > { > /* Do nothing. Everything was already done by i386_push_arguments. */ > } > > For the d10v, it eliminates that function. > > I'll commit in a day or so (most likely before commiting the push_dummy_call() change). > > Andrew > > PS: This one was never documented. > >