From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31588 invoked by alias); 20 Nov 2002 17:20:48 -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 31563 invoked from network); 20 Nov 2002 17:20:47 -0000 Received: from unknown (HELO heimdall.inter.net.il) (192.114.186.17) by sources.redhat.com with SMTP; 20 Nov 2002 17:20:47 -0000 Received: from zaretsky ([80.230.194.13]) by heimdall.inter.net.il (Mirapoint Messaging Server MOS 3.2.1-GA) with ESMTP id BZI41309; Wed, 20 Nov 2002 19:19:52 +0200 (IST) Date: Wed, 20 Nov 2002 09:20:00 -0000 From: "Eli Zaretskii" To: ac131313@redhat.com Message-Id: <2593-Wed20Nov2002192004+0200-eliz@is.elta.co.il> CC: gdb-patches@sources.redhat.com In-reply-to: <3DDBB787.90007@redhat.com> (message from Andrew Cagney on Wed, 20 Nov 2002 11:25:43 -0500) Subject: Re: [rfa/doco] FRAME_FP -> read_fp Reply-to: Eli Zaretskii References: <3DDBB787.90007@redhat.com> X-SW-Source: 2002-11/txt/msg00508.txt.bz2 > Date: Wed, 20 Nov 2002 11:25:43 -0500 > From: Andrew Cagney > > > > Ahm, what does this mean, exactly, "read_fp in the machine description"? > > Isn't read_fp a function? If so, how can it be present ``in the machine > > description''? > > regcache.c contains: > > CORE_ADDR > read_fp (void) > { > return TARGET_READ_FP (); > } > > and TARGET_READ_FP() is part of the machine description (a.k.a. > architecture vector). Yes, but still I find it confusing to tell that a function is in the machine description. A machine description is a bunch of macros and machine-specific functions, right? And read_fp is neither of these, right? > Hmm, I guess this could do with a similar s/FP_REGNUM/read_fp/ > transformation? Probably.