From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19419 invoked by alias); 14 Jul 2006 10:37:30 -0000 Received: (qmail 19406 invoked by uid 22791); 14 Jul 2006 10:37:29 -0000 X-Spam-Check-By: sourceware.org Received: from nitzan.inter.net.il (HELO nitzan.inter.net.il) (192.114.186.20) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 14 Jul 2006 10:37:27 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-228-104.inter.net.il [80.230.228.104]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id EDO29306 (AUTH halo1); Fri, 14 Jul 2006 13:37:18 +0300 (IDT) Date: Fri, 14 Jul 2006 10:37:00 -0000 Message-Id: From: Eli Zaretskii To: Joel Brobecker CC: gdb@sources.redhat.com In-reply-to: <20060713212746.GA1519@adacore.com> (message from Joel Brobecker on Thu, 13 Jul 2006 14:27:46 -0700) Subject: Re: [RFA] New substitute-path commands Reply-to: Eli Zaretskii References: <20060707052219.GA971@adacore.com> <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> 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/msg00080.txt.bz2 > Date: Thu, 13 Jul 2006 14:27:46 -0700 > From: Joel Brobecker > > The interface is as follow: > > (gdb) set substitute-path FROM TO > (gdb) unset substitute-path [FROM] > (gdb) show substitute-path > > The "set" command will add a substitution rule. 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? > Actually, as I'm writing this, I now favor first-entered/first-used. > One can delete a rule if he wants to override it. Agreed. Let's just make the logic clear in the manual.