This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] Add support for user-defined prefixed commands
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tromey at redhat dot com>, Eli Zaretskii <eliz at gnu dot org>
- Date: Wed, 14 Jan 2009 15:31:35 -0500
- Subject: Re: [RFC] Add support for user-defined prefixed commands
- References: <20081201210608.GA20385@caradoc.them.org>
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