This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]