[RFA] New substitute-path commands
Daniel Jacobowitz
drow@false.org
Fri Jul 14 13:06:00 GMT 2006
On Fri, Jul 14, 2006 at 01:37:18PM +0300, Eli Zaretskii wrote:
> > Date: Thu, 13 Jul 2006 14:27:46 -0700
> > From: Joel Brobecker <brobecker@adacore.com>
> >
> > 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?
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.
--
Daniel Jacobowitz
CodeSourcery
More information about the Gdb
mailing list