From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12281 invoked by alias); 6 Apr 2006 21:38:25 -0000 Received: (qmail 12273 invoked by uid 22791); 6 Apr 2006 21:38:25 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 06 Apr 2006 21:38:23 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id k36LcL8Q017754; Thu, 6 Apr 2006 17:38:21 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx1.corp.redhat.com (8.12.11.20060308/8.11.6) with ESMTP id k36LcLGt023922; Thu, 6 Apr 2006 17:38:21 -0400 Received: from [172.16.24.50] (bluegiant.sfbay.redhat.com [172.16.24.50]) by potter.sfbay.redhat.com (8.12.8/8.12.8) with ESMTP id k36LcJTq007713; Thu, 6 Apr 2006 17:38:20 -0400 Message-ID: <44358A4B.3010006@redhat.com> Date: Thu, 06 Apr 2006 21:38:00 -0000 From: Michael Snyder User-Agent: Mozilla Thunderbird 1.0.7-1.4.1 (X11/20050929) MIME-Version: 1.0 To: Daniel Jacobowitz CC: Joel Brobecker , gdb-patches@sources.redhat.com Subject: Re: [RFA] Add "del" as alias to "delete" References: <20060406162400.GK1055@adacore.com> <20060406163009.GA29559@nevyn.them.org> <20060406183733.GB800@adacore.com> <44358251.7080706@redhat.com> <20060406211125.GA3960@nevyn.them.org> In-Reply-To: <20060406211125.GA3960@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00080.txt.bz2 Daniel Jacobowitz wrote: > On Thu, Apr 06, 2006 at 02:04:17PM -0700, Michael Snyder wrote: > >>Joel Brobecker wrote: >> >>>>>2006-04-06 Joel Brobecker >>>>> >>>>> * breakpoint.c (_initialize_breakpoint): Add "del" as an alias >>>>> of the "delete" command. >>>>> >>>> >>>>Does anyone think we should make "dele" and "delet" work again too? >> >>Guys, this seems awkward and ad hoc (I realize it's my fault...) >> >>What if we make "delete" a command prefix (like "maint"), >>and then just branch from what follows it (eg. breakpoint, >>tracepoint, fork, checkpoint, display), with the default to be >>breakpoint. >> >>I'm not quite sure why this is broken only now... >>it used to work when "delete tracepoint" and >>"delete display" were possibilities. > > > You know, I had completely forgotten those were there. I wish I'd > realized before. > > The reason it's a problem now is that you didn't add "delete > checkpoint", but instead "delete-checkpoint". If we switch it the > problem will go away. > > There's a similar problem with detach, by the way. I used to type > "det" and now that doesn't work. Aliases or rename? Rename. It's early enough, I don't think many people are using checkpoints yet. I think I caused the very problem I was thinking to avoid, by using that hyphen. ;-(