From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18052 invoked by alias); 30 Apr 2004 04:04:24 -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 18034 invoked from network); 30 Apr 2004 04:04:17 -0000 Received: from unknown (HELO pippin.tausq.org) (64.81.244.94) by sources.redhat.com with SMTP; 30 Apr 2004 04:04:17 -0000 Received: by pippin.tausq.org (Postfix, from userid 1000) id 77D2ECD28A; Thu, 29 Apr 2004 21:04:17 -0700 (PDT) Date: Fri, 30 Apr 2004 04:04:00 -0000 From: Randolph Chung To: Andrew Cagney Cc: gdb-patches@sources.redhat.com Subject: Re: [patch/rfc/hppa] handle setting gp for calling shlib functions Message-ID: <20040430040417.GC3965@tausq.org> Reply-To: Randolph Chung References: <20040429062324.GX3965@tausq.org> <40910D4F.1020700@gnu.org> <20040429150704.GZ3965@tausq.org> <409126FD.3080708@gnu.org> <20040429161357.GA3965@tausq.org> <409131F2.5040706@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <409131F2.5040706@gnu.org> X-GPG: for GPG key, see http://www.tausq.org/gpg.txt User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-04/txt/msg00703.txt.bz2 > The function/variable is (well was, it appears to have fallen off the > radar for the moment) also wanted for a second reason. When it comes to > implementing ABI variants the full function type info is needed. Hence, > a ``struct value'' function descriptor (or descriptor pointer / type) > are going to eventually be needed anyway. Hence, I think an updated > push-dummy-call with the new parameter would be better. i can certainly try to look into this, but in lieu of the above (at least in the meantime) would it be ok if i stash the func descriptor passed into convert_from_func_ptr_addr into a "cache" in the tdep structure, and in push_dummy_call check the passed in funcaddr against the cached value? randolph -- Randolph Chung Debian GNU/Linux Developer, hppa/ia64 ports http://www.tausq.org/