This is the mail archive of the gdb@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: Quoting, backslashes, CLI and MI


On Wed, Feb 22, 2006 at 09:24:10PM +0200, Eli Zaretskii wrote:
> > Date: Tue, 21 Feb 2006 23:35:27 -0500
> > From: Daniel Jacobowitz <drow@false.org>
> > 
> > I don't actually know which form of paths current Windows MI clients
> > use.  I agree that it would be convenient if they mostly used forward
> > slashes; but it looks like Eclipse uses native backslashed paths
> > primarily, so I've some interest in supporting them (to perturb Eclipse
> > as little as possible).
> 
> If we want to support backslashes on Windows _and_ backslash-escaping
> without lots of ugly system-dependent code, then we will have to
> require to double each backslash.  Which I think will be inconvenient.

For the CLI, yes, this is somewhat inconvenient.  I think the
consistency benefits trump that; the user can always enter forward
slashes instead.  And we already need to double backslashes in some
places (like "file").

For the MI, it's not at all inconvenient; e.g. Eclipse already has code
to do this in most places (though as I mentioned, it's not quite
correct).

-- 
Daniel Jacobowitz
CodeSourcery


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