From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14081 invoked by alias); 30 Apr 2003 18:20:07 -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 14074 invoked from network); 30 Apr 2003 18:20:06 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 30 Apr 2003 18:20:06 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id AB5AD2B2F for ; Wed, 30 Apr 2003 14:20:05 -0400 (EDT) Message-ID: <3EB013D5.6090607@redhat.com> Date: Wed, 30 Apr 2003 20:31: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: gdb-patches@sources.redhat.com Subject: [obish] fix solaris 8 sparc-tdep.c compile problem Content-Type: multipart/mixed; boundary="------------020302070007000502010601" X-SW-Source: 2003-04/txt/msg00547.txt.bz2 This is a multi-part message in MIME format. --------------020302070007000502010601 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-length: 167 This fixes a compile problem for solaris 8 (SPARC). I'm not yet sure if it fixes a build though - I got a link error from using a really old compiler :-( Andrew --------------020302070007000502010601 Content-Type: text/plain; name="diffs" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="diffs" Content-length: 938 2003-04-30 Andrew Cagney * sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1. Index: sparc-tdep.c =================================================================== RCS file: /cvs/src/src/gdb/sparc-tdep.c,v retrieving revision 1.92 diff -u -r1.92 sparc-tdep.c --- sparc-tdep.c 29 Apr 2003 01:49:47 -0000 1.92 +++ sparc-tdep.c 30 Apr 2003 18:16:44 -0000 @@ -51,8 +51,11 @@ #if (GDB_MULTI_ARCH > 0) -/* Does the target have Floating Point registers? */ -#define SPARC_HAS_FPU (gdbarch_tdep (current_gdbarch)->has_fpu) +#if 0 +// OBSOLETE /* Does the target have Floating Point registers? */ +// OBSOLETE #define SPARC_HAS_FPU (gdbarch_tdep (current_gdbarch)->has_fpu) +#endif +#define SPARC_HAS_FPU 1 /* Number of bytes devoted to Floating Point registers: */ #define FP_REGISTER_BYTES (gdbarch_tdep (current_gdbarch)->fp_register_bytes) /* Highest numbered Floating Point register. */ --------------020302070007000502010601--