From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 519 invoked by alias); 3 Nov 2009 18:58:58 -0000 Received: (qmail 502 invoked by uid 22791); 3 Nov 2009 18:58:57 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-bw0-f219.google.com (HELO mail-bw0-f219.google.com) (209.85.218.219) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 03 Nov 2009 18:58:54 +0000 Received: by bwz19 with SMTP id 19so8712522bwz.8 for ; Tue, 03 Nov 2009 10:58:51 -0800 (PST) Received: by 10.204.8.145 with SMTP id h17mr331351bkh.156.1257274731263; Tue, 03 Nov 2009 10:58:51 -0800 (PST) Received: from ?192.168.10.10? ([93.174.86.85]) by mx.google.com with ESMTPS id 28sm932743fkx.29.2009.11.03.10.58.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 03 Nov 2009 10:58:50 -0800 (PST) Message-ID: <4AF07D60.2020305@googlemail.com> Date: Tue, 03 Nov 2009 18:58:00 -0000 From: James Pandavan User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Joel Brobecker CC: gdb@sourceware.org Subject: Re: gdb v7.0 - user defined command's document section - space prefixed end References: <4AE7D19A.70600@googlemail.com> <20091103143305.GN4573@adacore.com> In-Reply-To: <20091103143305.GN4573@adacore.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-11/txt/msg00030.txt.bz2 Joel Brobecker wrote: > I'm not sure whether this change of behavior was intended or not. I wonder > how many users indent their GDB scripts the way you did, with the "end" > not being on the first column... > > For now, perhaps we should document the fact that we expect the "end" > keyword to be on the first column of the line. I'm also wondering > whether we should consider allowing white spaces before the end in > the comment as well. It would make us backwards-compatible with > previous versions. > > I noticed my scripts didn't work under v7.0 only when I saw this bug in launchpad. I guess I am not the only one who has indented "ends" this way :) https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/461594 I've also filed a bug report a day after I sent my original mail. http://sourceware.org/bugzilla/show_bug.cgi?id=10868