From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32622 invoked by alias); 14 Jul 2006 13:43:34 -0000 Received: (qmail 32611 invoked by uid 22791); 14 Jul 2006 13:43:33 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 14 Jul 2006 13:43:30 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-228-104.inter.net.il [80.230.228.104]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id FFY82080 (AUTH halo1); Fri, 14 Jul 2006 16:43:22 +0300 (IDT) Date: Fri, 14 Jul 2006 13:43:00 -0000 Message-Id: From: Eli Zaretskii To: gdb@sources.redhat.com In-reply-to: <20060714130558.GA24712@nevyn.them.org> (message from Daniel Jacobowitz on Fri, 14 Jul 2006 09:05:59 -0400) Subject: Re: [RFA] New substitute-path commands Reply-to: Eli Zaretskii References: <20060707191203.GD971@adacore.com> <20060710054027.GF971@adacore.com> <20060710214706.GA2390@adacore.com> <20060710215114.GA31444@nevyn.them.org> <20060710215630.GB2390@adacore.com> <20060710215839.GA31772@nevyn.them.org> <20060713212746.GA1519@adacore.com> <20060714130558.GA24712@nevyn.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-07/txt/msg00086.txt.bz2 > Date: Fri, 14 Jul 2006 09:05:59 -0400 > From: Daniel Jacobowitz > Cc: Joel Brobecker , gdb@sources.redhat.com > > > If this _adds_ a rule, then "set SOMETHING" is not a good UI, IMO. > > How about just "substitute-path", similar to "dir", which also _adds_ > > a directory? > > This was my suggestion, so I'll defend it :-) I think of it as set "the > substitution path for FROM" to "TO". The parallel is set env VAR > VALUE, which sets the environment variable VAR to VALUE. In that case, we should at least have "show substitute-path FROM", not just "show substitute-path".