From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12408 invoked by alias); 22 Nov 2002 16:54:03 -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 12391 invoked from network); 22 Nov 2002 16:54:00 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 22 Nov 2002 16:54:00 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 1B9E73E4B; Fri, 22 Nov 2002 11:53:53 -0500 (EST) Message-ID: <3DDE6120.4010205@redhat.com> Date: Fri, 22 Nov 2002 08:54:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andreas Schwab Cc: gdb-patches@sources.redhat.com Subject: Re: m68k_register_virtual_type References: <3DDE4E31.4010807@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-11/txt/msg00546.txt.bz2 > |> > + else if ((unsigned) regnum >= E_FPC_REGNUM) > |> > + return builtin_type_int; > |> > |> builtin_type_int32 is better > |> > |> > else if ((unsigned) regnum >= FP0_REGNUM) > |> > return builtin_type_long_double; > |> > + else if (regnum == PS_REGNUM) > |> > + return builtin_type_int > |> > |> Ditto. > > What about the default case for the d0-d7 registers? Should it be changed > to builtin_type_int32 as well? Er, yes. (And eventually long_double to builtin_type_m68881_ext but the last one might have fallout related to register conversions). Andrew