From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22972 invoked by alias); 14 Jan 2009 20:32:23 -0000 Received: (qmail 22963 invoked by uid 22791); 14 Jan 2009 20:32:22 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 14 Jan 2009 20:31:41 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 08CC610632; Wed, 14 Jan 2009 20:31:40 +0000 (GMT) Received: from caradoc.them.org (209.195.188.212.nauticom.net [209.195.188.212]) by nan.false.org (Postfix) with ESMTP id 4868F1053D; Wed, 14 Jan 2009 20:31:37 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1LNCOm-0007ts-1A; Wed, 14 Jan 2009 15:31:36 -0500 Date: Wed, 14 Jan 2009 20:32:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Cc: Tom Tromey , Eli Zaretskii Subject: Re: [RFC] Add support for user-defined prefixed commands Message-ID: <20090114203135.GA15499@caradoc.them.org> Mail-Followup-To: gdb-patches@sourceware.org, Tom Tromey , Eli Zaretskii References: <20081201210608.GA20385@caradoc.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081201210608.GA20385@caradoc.them.org> User-Agent: Mutt/1.5.17 (2008-05-11) X-IsSubscribed: yes 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: 2009-01/txt/msg00333.txt.bz2 On Mon, Dec 01, 2008 at 04:06:08PM -0500, Daniel Jacobowitz wrote: > This patch allows "define" to take more than one word for the name of > the command. It does not allow the creation of new prefix commands, > but you can add commands to a prefix. For instance, "define target > foo" to implement the "target foo" command, which sits next to > "target sim" and "target remote" and works just like them. I've belatedly committed this. -- Daniel Jacobowitz CodeSourcery