From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20742 invoked by alias); 13 Sep 2003 15:01:17 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 20670 invoked from network); 13 Sep 2003 15:01:13 -0000 Received: from unknown (HELO localhost.redhat.com) (65.49.0.121) by sources.redhat.com with SMTP; 13 Sep 2003 15:01:13 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 07ECA2B89; Sat, 13 Sep 2003 11:01:07 -0400 (EDT) Message-ID: <3F633132.4050603@redhat.com> Date: Sat, 13 Sep 2003 15:01:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mark Kettenis Cc: gdb@sources.redhat.com, dan@debian.org Subject: Re: REG_STRUCT_HAS_ADDR References: <200309062206.h86M62no012596@elgar.kettenis.dyndns.org> <3F5CCDDD.4010809@redhat.com> <200309131425.h8DEP6ZF012300@elgar.kettenis.dyndns.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-09/txt/msg00182.txt.bz2 > That's a good strategy. However, making this stabs-specific seems > wrong to me. The new method will simply indicate whether the ABI > silently uses pass by reference instead of pass by value for function > argument of a certain type. Therefore I don't think we should put > STABS in the name. What about PASS_ARGUMENT_BY_REFERENCE? I'm going > to drop the GCC_P argument too, since nobody is using it. I'll post a > patch later today. To correctly determine if an arument is passed by reference requires the complete function prototype (same problem as push dummy call). I think, rather than change the interface (will anyone actually fix/use that info?) this method should be burried as stabs only. Leave the problem of defining/implementing a new interface to someone that needs it. Andrew