From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30535 invoked by alias); 17 Jan 2017 16:29:48 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 30518 invoked by uid 89); 17 Jan 2017 16:29:48 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=H*i:sk:b8bc513, H*MI:sk:b8bc513, H*f:sk:b8bc513, our X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 17 Jan 2017 16:29:46 +0000 Received: from svr-orw-mbx-03.mgc.mentorg.com ([147.34.90.203]) by relay1.mentorg.com with esmtp id 1cTWdl-0007MR-2G from Luis_Gustavo@mentor.com ; Tue, 17 Jan 2017 08:29:45 -0800 Received: from [172.30.8.199] (147.34.91.1) by svr-orw-mbx-03.mgc.mentorg.com (147.34.90.203) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Tue, 17 Jan 2017 08:29:41 -0800 Subject: Re: [RFA] candidates for ambiguous command in upper case References: <1484058324-5368-1-git-send-email-guitton@adacore.com> <20170110150731.GH9518@E107787-LIN> <20170110151944.GD27546@adacore.com> <2c7e674b-e827-f433-cbaf-a3d1a20cba80@redhat.com> <20170111172550.GL9518@E107787-LIN> <20170112101854.GL27546@adacore.com> <85ecb095-a990-6f15-4fe9-5addffb3a5d0@redhat.com> <20170116163210.GG27546@adacore.com> To: Pedro Alves , Jerome Guitton CC: Yao Qi , Simon Marchi , Reply-To: Luis Machado From: Luis Machado Message-ID: <6872438c-e93a-77e8-79a3-c8e1f05aa283@codesourcery.com> Date: Tue, 17 Jan 2017 16:29:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: svr-orw-mbx-01.mgc.mentorg.com (147.34.90.201) To svr-orw-mbx-03.mgc.mentorg.com (147.34.90.203) X-IsSubscribed: yes X-SW-Source: 2017-01/txt/msg00328.txt.bz2 On 01/16/2017 07:58 PM, Pedro Alves wrote: > On 01/16/2017 04:32 PM, Jerome Guitton wrote: >> Pedro Alves (palves@redhat.com): >> >>> Dunno, if it doesn't make sense, and nobody uses it, then it's one >>> less thing to maintain and test. >> >> Hard to figure out if someone uses it, I guess. This originally got >> reported by one of our users as a minor inconsistancy, who also said >> that he would be OK if gdb commands were case sensitive. >> >> The patch that I'm suggesting is fairly simple, but my feeling is that >> it would be just as easy to remove the feature. >> >> I've tested the opposite: making the match case sensitive is a matter >> of removing 4 characters in cli-decode.c. Not much consequences in the >> testsuite. "handle sigq" still completes to "handle SIGQUIT". >> >> So, what do we want to do? >> 1. Remove the feature? >> 2. Improve its consistency? >> 3. Keep things as is? >> > > I vote #1. I don't see a problem with #1 as long as we keep it consistent throughout from now on.