From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1221 invoked by alias); 6 Apr 2006 21:11:35 -0000 Received: (qmail 1211 invoked by uid 22791); 6 Apr 2006 21:11:34 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Thu, 06 Apr 2006 21:11:32 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FRblF-000148-Ps; Thu, 06 Apr 2006 17:11:25 -0400 Date: Thu, 06 Apr 2006 21:11:00 -0000 From: Daniel Jacobowitz To: Michael Snyder Cc: Joel Brobecker , gdb-patches@sources.redhat.com Subject: Re: [RFA] Add "del" as alias to "delete" Message-ID: <20060406211125.GA3960@nevyn.them.org> Mail-Followup-To: Michael Snyder , Joel Brobecker , gdb-patches@sources.redhat.com References: <20060406162400.GK1055@adacore.com> <20060406163009.GA29559@nevyn.them.org> <20060406183733.GB800@adacore.com> <44358251.7080706@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44358251.7080706@redhat.com> User-Agent: Mutt/1.5.8i 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/msg00079.txt.bz2 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? -- Daniel Jacobowitz CodeSourcery