From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30483 invoked by alias); 17 Jan 2017 01:58:25 -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 30138 invoked by uid 89); 17 Jan 2017 01:58:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.1 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=guitton, Guitton, jerome, Jerome X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 17 Jan 2017 01:58:22 +0000 Received: from smtp.corp.redhat.com (int-mx16.intmail.prod.int.phx2.redhat.com [10.5.11.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5889D83F46; Tue, 17 Jan 2017 01:58:22 +0000 (UTC) Received: from [127.0.0.1] (ovpn04.gateway.prod.ext.phx2.redhat.com [10.5.9.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1D235794BC; Tue, 17 Jan 2017 01:58:20 +0000 (UTC) Subject: Re: [RFA] candidates for ambiguous command in upper case To: Jerome Guitton 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> Cc: Yao Qi , Simon Marchi , gdb-patches@sourceware.org From: Pedro Alves Message-ID: Date: Tue, 17 Jan 2017 01:58:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20170116163210.GG27546@adacore.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-SW-Source: 2017-01/txt/msg00315.txt.bz2 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. Thanks, Pedro Alves