This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] New substitute-path commands
> The reason for anchoring is to reduce surprising behavior. Especially
> since this only replaces one occurance, it seems like the path of least
> astonishment. For instance, "substitute-path foo bar" would replace
> /fool with /barl and /tmp/myfoo with /tmp/mybar.
That makes really good sense. I now prefer anchoring too.
Since we're anchoring the start, it might make sense to anchoring
the end as well, if only for consistency.
--
Joel