From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 872 invoked by alias); 14 Jan 2009 22:38:27 -0000 Received: (qmail 864 invoked by uid 22791); 14 Jan 2009 22:38:26 -0000 X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_SORBS_WEB,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout7.012.net.il (HELO mtaout7.012.net.il) (84.95.2.19) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 14 Jan 2009 22:37:44 +0000 Received: from conversion-daemon.i-mtaout7.012.net.il by i-mtaout7.012.net.il (HyperSendmail v2007.08) id <0KDH00C00G5PTJ00@i-mtaout7.012.net.il> for gdb-patches@sourceware.org; Thu, 15 Jan 2009 00:37:27 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.127.202.36]) by i-mtaout7.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KDH00C9VG6E1HJ0@i-mtaout7.012.net.il>; Thu, 15 Jan 2009 00:37:27 +0200 (IST) Date: Wed, 14 Jan 2009 22:38:00 -0000 From: Eli Zaretskii Subject: Re: Use external editor in 'commands' command In-reply-to: To: Alfredo Ortega Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: References: 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/msg00337.txt.bz2 > Date: Wed, 14 Jan 2009 19:47:50 -0200 > From: Alfredo Ortega > > 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.