From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21028 invoked by alias); 18 Nov 2001 04:43:29 -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 21007 invoked from network); 18 Nov 2001 04:43:25 -0000 Received: from unknown (HELO localhost.cygnus.com) (24.114.42.213) by sourceware.cygnus.com with SMTP; 18 Nov 2001 04:43:25 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.cygnus.com (Postfix) with ESMTP id B7BD53C81; Sat, 17 Nov 2001 23:43:20 -0500 (EST) Message-ID: <3BF73C68.4010805@cygnus.com> Date: Wed, 07 Nov 2001 10:43:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:0.9.3) Gecko/20011020 X-Accept-Language: en-us MIME-Version: 1.0 To: fnf@ninemoons.com Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] patch for mips gdb build failure with latest gcc References: <200111180417.fAI4HtH30179@fishpond.ninemoons.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2001-11/txt/msg00110.txt.bz2 > Gdb for mips does not currently build with the latest gcc. The error > message is: > > In file included from support.c:26: > sim-main.h:370: unnamed fields of type other than struct or union are not allowed > > The problem is an enum declaration inside a struct declaration, which > is apparently now illegal. This patch fixes it. > > > 2001-11-17 Fred Fish > > * sim-main.h (float_operation): Move enum declaration outside > of _sim_cpu struct declaration. > Little choice on this one :-) yes, 'n' thanks. Andrew