From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24341 invoked by alias); 15 Nov 2001 02:20:43 -0000 Mailing-List: contact gdb-patches-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 24316 invoked from network); 15 Nov 2001 02:20:41 -0000 Received: from unknown (HELO cygnus.com) (205.180.230.5) by sourceware.cygnus.com with SMTP; 15 Nov 2001 02:20:41 -0000 Received: from cygnus.com (taarna.cygnus.com [205.180.230.102]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id SAA27363; Wed, 14 Nov 2001 18:20:40 -0800 (PST) Message-ID: <3BF326B0.B4030626@cygnus.com> Date: Mon, 05 Nov 2001 15:37:00 -0000 From: Michael Snyder Organization: Red Hat X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-22 i686) X-Accept-Language: en MIME-Version: 1.0 To: Andrew Cagney CC: gdb-patches@sources.redhat.com, cagney@redhat.com, jimb@redhat.com Subject: Re: [RFA] Update D10V target to use new Harvardized type casts. References: <200111142057.fAEKvKB12616@reddwarf.cygnus.com> <3BF2E045.5060906@cygnus.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2001-11/txt/msg00071.txt.bz2 Andrew Cagney wrote: > > > This one-line change lets the D10V back-end recognize the new > > Harvardized type casts eg. "(@code int *)", so that a pointer > > can be forced into the address space of choice. > > > > The exact same change can be used for (most) other Harvard back-ends. > > (I quit as d10v maintainer :-) > > Yes, looks ok. Committed. > One thought, though, should that test: > > ... == FUNC || ... == METHOD || ... == CODE_SPACE > > be abstracted out? Every harvard target I've looked at has had that > same test. Possible. Although it's only a few lines, so far they have shaken out as pretty generically useful. Can't think where they would go though...