From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4712 invoked by alias); 5 Jul 2010 19:54:34 -0000 Received: (qmail 4702 invoked by uid 22791); 5 Jul 2010 19:54:33 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 05 Jul 2010 19:54:25 +0000 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 8C77E1C1565F for ; Mon, 5 Jul 2010 21:54:22 +0200 (CEST) Received: from igel.home (ppp-88-217-100-141.dynamic.mnet-online.de [88.217.100.141]) by mail.mnet-online.de (Postfix) with ESMTP id 5B2261C000FF for ; Mon, 5 Jul 2010 21:54:22 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 09956CA297; Mon, 5 Jul 2010 21:54:21 +0200 (CEST) From: Andreas Schwab To: gdb-patches@sourceware.org Subject: [PATCH] Add "cl" as alias for "clear" X-Yow: HOORAY, Ronald!! Now YOU can marry LINDA RONSTADT too!! Date: Mon, 05 Jul 2010 19:54:00 -0000 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 X-SW-Source: 2010-07/txt/msg00091.txt.bz2 Before clone-inferior was added you could type cl to get clear. Tested on powerpc-linux. Andreas. 2010-07-05 Andreas Schwab * breakpoint.c (_initialize_breakpoint): Add "cl" as alias for "clear". --- breakpoint.c.~1.499.~ 2010-07-05 21:41:11.000000000 +0200 +++ breakpoint.c 2010-07-05 21:41:19.000000000 +0200 @@ -11717,6 +11717,7 @@ With no argument, clears all breakpoints is executing in.\n\ \n\ See also the \"delete\" command which clears breakpoints by number.")); + add_com_alias ("cl", "clear", class_breakpoint, 1); c = add_com ("break", class_breakpoint, break_command, _("\ Set breakpoint at specified line or function.\n" -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."