From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15395 invoked by alias); 12 Sep 2002 20:01:22 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 15333 invoked from network); 12 Sep 2002 20:01:18 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 12 Sep 2002 20:01:18 -0000 Received: from ges.redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id BB5F13C44; Thu, 12 Sep 2002 16:01:15 -0400 (EDT) Message-ID: <3D80F28B.6010409@ges.redhat.com> Date: Thu, 12 Sep 2002 13:01:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Carlton Cc: gdb , Joel Brobecker Subject: Re: list of GNU indent versions in gdb_indent.sh References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-09/txt/msg00125.txt.bz2 > I noticed that gdb_indent.sh complained at me because I'm using GNU > indent 2.2.7 instead of 2.2.6. I ignored the warning, but of course > that's something I don't like to do. Does anybody have any reason to > believe that GNU indent 2.2.7 or 2.2.8 isn't a reasonable version as > well? If not, I'll look through the ChangeLogs/NEWS/whatever the > appropriate file is for GNU indent for those versions and, assuming > they don't do anything strange, modify gdb_indent.sh to treat them as > "reasonable". The check is to ensure that everyone uses the same version of indent. That way ``obvious'' re-indentation doesn't cause unnecessary entropy. (BTW, re-indentation isn't normally a reason for adding a (C) 2002 to a file. For symtab.h, it had seen other [minor] changes so it doesn't hurt.) Can you please find out exactly what was changed? By definition (baring a really bad bug) GDB's indentation style is determined by the output (no matter how bad :-) of [current] GNU indent with out any parameters (ignoring -T). When a new indent becomes available we should move to it. I'll tweak the script so that it simply rejects wrong indent versions. -- Joel, W.r.t. indent --, that is somebody elses problem :-) GDB simply lives with the output of GNU indent -T ..., no matter how bad it is :-) If EMACS/indent ever change their default, we'll change as well. enjoy, Andrew