This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [RFA] New substitute-path commands
- From: Eli Zaretskii <eliz at gnu dot org>
- To: gdb at sources dot redhat dot com
- Date: Fri, 14 Jul 2006 16:43:22 +0300
- Subject: Re: [RFA] New substitute-path commands
- References: <20060707191203.GD971@adacore.com> <uhd1sp9uv.fsf@gnu.org> <20060710054027.GF971@adacore.com> <ud5cdnsml.fsf@gnu.org> <20060710214706.GA2390@adacore.com> <20060710215114.GA31444@nevyn.them.org> <20060710215630.GB2390@adacore.com> <20060710215839.GA31772@nevyn.them.org> <20060713212746.GA1519@adacore.com> <u64i0mq01.fsf@gnu.org> <20060714130558.GA24712@nevyn.them.org>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> Date: Fri, 14 Jul 2006 09:05:59 -0400
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Joel Brobecker <brobecker@adacore.com>, 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".