From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20103 invoked by alias); 7 Aug 2002 17:12:15 -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 20088 invoked from network); 7 Aug 2002 17:12:14 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 7 Aug 2002 17:12:14 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 112173E9C; Wed, 7 Aug 2002 13:12:14 -0400 (EDT) Message-ID: <3D5154ED.5080908@ges.redhat.com> Date: Wed, 07 Aug 2002 10:12:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020802 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Michael Snyder Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] mips-n32 reg_struct_has_addr References: <3D49EC2D.86CF5517@redhat.com> <3D504783.3060706@ges.redhat.com> <3D504E8C.4C0FD7BE@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-08/txt/msg00165.txt.bz2 > No, I don't think this is right. As best I can tell, there is no cap on >> the size of a struct that is passed by register. >> >> http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi/srch3@o32/0650/bks/SGI_Developer/books/Mpro_n32_ABI/sgi_html/ch02.html#id80931 >> >> I.e., o32 and n32/n64 are the same -> never pass structures by reference. > > > OK, patch withdrawn, I will resubmit it using this assumption, > just to get the gdbarch-ification checked in, and then we can > work on resolving how N32/64 should work. Thanks! BTW, if you're trying to test this, DO NOT TRUST GCC! Check things out with an SGI compiler. Andrew