From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10088 invoked by alias); 15 May 2002 17:05:00 -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 10079 invoked from network); 15 May 2002 17:04:59 -0000 Received: from unknown (HELO fw-cam.cambridge.arm.com) (193.131.176.3) by sources.redhat.com with SMTP; 15 May 2002 17:04:59 -0000 Received: by fw-cam.cambridge.arm.com; id SAA06121; Wed, 15 May 2002 18:04:57 +0100 (BST) Received: from unknown(172.16.1.2) by fw-cam.cambridge.arm.com via smap (V5.5) id xma005946; Wed, 15 May 02 18:04:43 +0100 Received: from cam-mail2.cambridge.arm.com (cam-mail2.cambridge.arm.com [172.16.1.91]) by cam-admin0.cambridge.arm.com (8.9.3/8.9.3) with ESMTP id SAA01370; Wed, 15 May 2002 18:04:42 +0100 (BST) Received: from sun18.cambridge.arm.com (sun18.cambridge.arm.com [172.16.2.18]) by cam-mail2.cambridge.arm.com (8.9.3/8.9.3) with ESMTP id SAA13372; Wed, 15 May 2002 18:04:42 +0100 (BST) Message-Id: <200205151704.SAA13372@cam-mail2.cambridge.arm.com> To: Andrew Cagney cc: Andreas Schwab , Richard.Earnshaw@arm.com, gdb-patches@sources.redhat.com Reply-To: Richard.Earnshaw@arm.com Organization: ARM Ltd. X-Telephone: +44 1223 400569 (direct+voicemail), +44 1223 400400 (switchbd) X-Fax: +44 1223 400410 X-Address: ARM Ltd., 110 Fulbourn Road, Cherry Hinton, Cambridge CB1 9NJ. X-Url: http://www.arm.com/ Subject: Re: [patch/rfc] h8300 Change literal reg numbers to REGNUM macros In-reply-to: Your message of "Wed, 15 May 2002 12:56:48 EDT." <3CE29350.50801@cygnus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 May 2002 10:05:00 -0000 From: Richard Earnshaw X-SW-Source: 2002-05/txt/msg00609.txt.bz2 > > Richard Earnshaw writes: > > > > |> Further, it's general to talk about 'ISO' when referring to c99. I said > > |> 'ANSI', which is usually taken to refer to the original standard. > > > > I'm pretty sure that ANSI has adopted C99 too. And C89 (well, C90 > > actually) was an ISO standard as well. > > GDB requires ISO C, not ANSI C :-) > http://sources.redhat.com/gdb/onlinedocs/gdbint_13.html#SEC102 I just built gdb on arm-netbsdelf with -std=c89 -Werror added to the build options. Apart from needing to add -Wno-trigraphs to compile solib-svr4.c ('cos it includes elf/mips.h, which has '???' in coments), everything worked fine. Maybe we should work towards adding the 'std' option on builds. It should help to clear out any accidental use of GCC-isms. R.