From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26831 invoked by alias); 13 Sep 2003 19:58:56 -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 26824 invoked from network); 13 Sep 2003 19:58:55 -0000 Received: from unknown (HELO localhost.redhat.com) (65.49.0.121) by sources.redhat.com with SMTP; 13 Sep 2003 19:58:55 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id CAA732B89; Sat, 13 Sep 2003 15:58:31 -0400 (EDT) Message-ID: <3F6376E7.30601@redhat.com> Date: Sat, 13 Sep 2003 19:58: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: Andrew Cagney , Corinna Vinschen Cc: Mark Kettenis , gdb@sources.redhat.com Subject: Re: [RFC] Supporting alternative ABIs References: <20030822084054.GA1110@cygbert.vinschen.de> <86isop2y9h.fsf@elgar.kettenis.dyndns.org> <3F609BA0.3060106@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-09/txt/msg00184.txt.bz2 > Corinna Vinschen writes: > > > - EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, USE_STRUCT_CONVENTION and > gdbarch_push_dummy_code gdbarch methods would be changed to expect > the type of the function, not the type of its return value. They > can use TYPE_TARGET_TYPE to get the return value type, but this will > also give them access to the `calling_convention' for the function type. I just looked at infcall.c:find_function_addr. GDB sometimes needs to compute the function's type and address from incomplete information. Andrew