From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6850 invoked by alias); 25 Mar 2003 20:05:21 -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 6840 invoked from network); 25 Mar 2003 20:05:20 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 25 Mar 2003 20:05:20 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id B2F142B23; Tue, 25 Mar 2003 15:05:13 -0500 (EST) Message-ID: <3E80B679.6030801@redhat.com> Date: Tue, 25 Mar 2003 20:05: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: Daniel Jacobowitz Cc: gdb-patches@sources.redhat.com Subject: Re: [patch rfc] PUSH_ARGUMENTS() -> push_dummy_call() References: <3E7E977A.5080302@redhat.com> <20030324141924.GA25455@nevyn.them.org> <3E7F3A85.3000100@redhat.com> <20030324173353.GA23605@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-03/txt/msg00502.txt.bz2 > Is it too much overhead/PITA to restructure it so that we can use that >> >information? If so I'll probably need to add a new architecture method >> >to get ths sort of information. > >> >> It is definitly beyond the scope of these cleanups. The interface is >> going to be sufficiently different to need a new architecture method anyway. >> >> Would a FETCH_POINTER_ARGUMENT() method be sufficient for your immediate >> needs? > > > Yes! Thanks for the pointer. I'll put together a patch to move it > into the architecture vector, for those architectures where it has a > clear implementation. And try to write up some mostly-accurate > documentation for what it does... > > Basically, it should work as long as the previous N arguments were all > pointers, and for reasonably small values of N (objc-lang never goes > above N == 2 I think). Yes. BTW, the method will need a type parameter similar to extract_typed_address(). Andrew