From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29936 invoked by alias); 22 May 2003 19:16:26 -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 29878 invoked from network); 22 May 2003 19:16:26 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.131) by sources.redhat.com with SMTP; 22 May 2003 19:16:26 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id BBC172B2F; Thu, 22 May 2003 15:16:17 -0400 (EDT) Message-ID: <3ECD2201.5040306@redhat.com> Date: Thu, 22 May 2003 19:16: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: Andrew Cagney Cc: Adam Fedor , GDB Patches , Daniel Jacobowitz Subject: Re: [RFA]: gdbarch FETCH_POINTER_ARGUMENT References: <3EC84B9A.8030505@doc.com> <3ECA8AF1.10001@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-05/txt/msg00436.txt.bz2 Adam, I think the FETCH_POINTER_ARGUMENT method should have the signature: (CORE_ADDR) (struct frame_info *frame, int argi, struct type *type) the call would then look like: addr = gdbarch_fetch_pointer_argument (current_gdbarch, get_current_frame (), argi, builtin_type_void_func_ptr); See: cooked regcache -> frame http://sources.redhat.com/ml/gdb/2003-05/msg00287.html for the rationale, Andrew