From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12945 invoked by alias); 1 Aug 2002 16:53:30 -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 12938 invoked from network); 1 Aug 2002 16:53:29 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 1 Aug 2002 16:53:29 -0000 Received: from int-mx2.corp.redhat.com (nat-pool-rdu.redhat.com [172.16.52.200] (may be forged)) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id g71Gf0l11970 for ; Thu, 1 Aug 2002 12:41:00 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g71GrPu08509; Thu, 1 Aug 2002 12:53:26 -0400 Received: from romulus.sfbay.redhat.com (remus.sfbay.redhat.com [172.16.27.252]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g71GrOm06534; Thu, 1 Aug 2002 09:53:24 -0700 Received: (from kev@localhost) by romulus.sfbay.redhat.com (8.11.6/8.11.6) id g71GrMv27592; Thu, 1 Aug 2002 09:53:22 -0700 Date: Thu, 01 Aug 2002 09:53:00 -0000 From: Kevin Buettner Message-Id: <1020801165318.ZM27591@localhost.localdomain> In-Reply-To: Andrew Cagney "Re: [PATCH] 64-bit support for Irix 6" (Aug 1, 11:11am) References: <1020731172757.ZM21630@localhost.localdomain> <3D494F95.5060708@ges.redhat.com> To: Andrew Cagney Subject: Re: [PATCH] 64-bit support for Irix 6 Cc: gdb-patches@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-08/txt/msg00003.txt.bz2 On Aug 1, 11:11am, Andrew Cagney wrote: > Kevin, this is wrong. > > It is no longer acceptable to add support for an additional sub-target > using non-multi-arch mechanisms. How about this then? * config/mips/tm-irix6.h: Include mips/tm-bigmips64.h instead of mips/tm-bigmips.h. (MIPS_REGSIZE, REGISTER_VIRTUAL_SIZE): Delete. Index: config/mips/tm-irix6.h =================================================================== RCS file: /cvs/src/src/gdb/config/mips/tm-irix6.h,v retrieving revision 1.3 diff -u -p -r1.3 tm-irix6.h --- config/mips/tm-irix6.h 31 Jul 2002 17:22:06 -0000 1.3 +++ config/mips/tm-irix6.h 1 Aug 2002 16:33:24 -0000 @@ -19,10 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#include "mips/tm-bigmips.h" - -#undef MIPS_REGSIZE -#define MIPS_REGSIZE 8 +#include "mips/tm-bigmips64.h" /* SGI's assembler doesn't grok dollar signs in identifiers. So we use dots instead. This item must be coordinated with G++. */ @@ -90,14 +87,6 @@ FP0_REGNUM * MIPS_REGSIZE + \ ((N) - FP0_REGNUM) * sizeof(double) : \ 32 * sizeof(double) + ((N) - 32) * MIPS_REGSIZE) - -#undef REGISTER_VIRTUAL_TYPE -/* define 8 byte register type */ -#define REGISTER_VIRTUAL_TYPE(N) \ - (((N) >= FP0_REGNUM && (N) < FP0_REGNUM+32) ? builtin_type_double \ - : ((N) == 32 /*SR*/) ? builtin_type_uint32 \ - : ((N) >= 70 && (N) <= 89) ? builtin_type_uint32 \ - : builtin_type_long_long) /* Force N32 ABI as the default. */ #define MIPS_DEFAULT_ABI MIPS_ABI_N32