From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2537 invoked by alias); 6 Apr 2006 16:24:07 -0000 Received: (qmail 2521 invoked by uid 22791); 6 Apr 2006 16:24:06 -0000 X-Spam-Check-By: sourceware.org Received: from nile.gnat.com (HELO nile.gnat.com) (205.232.38.5) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 06 Apr 2006 16:24:03 +0000 Received: from localhost (localhost [127.0.0.1]) by filtered-nile.gnat.com (Postfix) with ESMTP id E491348CEC9 for ; Thu, 6 Apr 2006 12:24:01 -0400 (EDT) Received: from nile.gnat.com ([127.0.0.1]) by localhost (nile.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26429-01-9 for ; Thu, 6 Apr 2006 12:24:01 -0400 (EDT) Received: from takamaka.act-europe.fr (s142-179-108-108.bc.hsia.telus.net [142.179.108.108]) by nile.gnat.com (Postfix) with ESMTP id 31A5648CEB4 for ; Thu, 6 Apr 2006 12:24:01 -0400 (EDT) Received: by takamaka.act-europe.fr (Postfix, from userid 507) id 6A35347E7F; Thu, 6 Apr 2006 09:24:00 -0700 (PDT) Date: Thu, 06 Apr 2006 16:24:00 -0000 From: Joel Brobecker To: gdb-patches@sources.redhat.com Subject: [RFA] Add "del" as alias to "delete" Message-ID: <20060406162400.GK1055@adacore.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="EeQfGwPcQSOJBaQU" Content-Disposition: inline User-Agent: Mutt/1.4i 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/msg00074.txt.bz2 --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 626 This is a followup on a suggestion made by Daniel in: http://sourceware.org/ml/gdb/2006-01/msg00205.html Apparently, a message in GDB hinted that Daniel would not have time in the near future to implement this, so I went ahead: 2006-04-06 Joel Brobecker * breakpoint.c (_initialize_breakpoint): Add "del" as an alias of the "delete" command. currently testing against the testsuite on x86-linux, but I don't expect any regression. OK to commit? Perhaps I should add a test too in one of the breakpoint testcases... Will work on that as soon as this one is in. -- Joel --EeQfGwPcQSOJBaQU Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="del.diff" Content-length: 666 Index: breakpoint.c =================================================================== RCS file: /cvs/src/src/gdb/breakpoint.c,v retrieving revision 1.223 diff -u -p -r1.223 breakpoint.c --- breakpoint.c 9 Feb 2006 11:24:46 -0000 1.223 +++ breakpoint.c 6 Apr 2006 16:19:29 -0000 @@ -7813,6 +7813,7 @@ Also a prefix command for deletion of ot The \"unset\" command is also an alias for \"delete\"."), &deletelist, "delete ", 1, &cmdlist); add_com_alias ("d", "delete", class_breakpoint, 1); + add_com_alias ("del", "delete", class_breakpoint, 1); if (xdb_commands) add_com ("db", class_breakpoint, delete_command, _("\ Delete some breakpoints.\n\ --EeQfGwPcQSOJBaQU--