From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3745 invoked by alias); 15 May 2002 16:56:47 -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 3708 invoked from network); 15 May 2002 16:56:46 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 15 May 2002 16:56:46 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id D377F3D61; Wed, 15 May 2002 12:56:48 -0400 (EDT) Message-ID: <3CE29350.50801@cygnus.com> Date: Wed, 15 May 2002 09:56:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0rc1) Gecko/20020429 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andreas Schwab Cc: Richard.Earnshaw@arm.com, gdb-patches@sources.redhat.com Subject: Re: [patch/rfc] h8300 Change literal reg numbers to REGNUM macros References: <200205151255.NAA15827@cam-mail2.cambridge.arm.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-05/txt/msg00607.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 (Yes I need to fix the ``ISO-C'' typo, clarify which ISO C standard (in case there are two), and yes ISO simply adopted the ANSI standard :-) Any way, the MINIX compiler doesn't accept C++ style comments so I don't think it can be used.... Hmmm, should see if GDB compiles on that platform :-^ > |> And anyway, the important point here is that GDB is not being coded to c99. > > No sweat. I think the important thing is to pressure GCC and BINUTILS to drop the K&R C requirement :-) enjoy, Andrew