This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Use external editor in 'commands' command
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Alfredo Ortega <ortegaalfredo at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 15 Jan 2009 00:37:16 +0200
- Subject: Re: Use external editor in 'commands' command
- References: <e598931c0901141343j79164cf6we2bc5307f41f41da@mail.gmail.com> <e598931c0901141347j4d159f16he23ad164760518ff@mail.gmail.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Wed, 14 Jan 2009 19:47:50 -0200
> From: Alfredo Ortega <ortegaalfredo@gmail.com>
>
> I have made a small patch to the 'commands' command to allow the use
> of an external editor to add or modify commands. This is convenient if
> you are dealing with many commands per breakpoint.
> The editor follows the behavior of the 'edit' command (/bin/ex by
> default, or the 'EDITOR' environment variable)
>
> Tested on i686-pc-linux-gnu, please tell me what do you think about it.
If this is accepted, we will need a suitable patch for the manual.