This is the mail archive of the 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 06:30:30AM +0200, Eli Zaretskii wrote:
> > Date: Tue, 21 Feb 2006 16:33:24 -0500
> > From: Daniel Jacobowitz <>
> > 
> > Prompted by some of Andrew's paths-with-spaces patches, and by another
> > project I'm working on that had to add a var_filename set variable,
> > I've been looking over the way GDB handles quoting of arguments.
> > It's a mess.  For most users this is not a big deal; the big losers
> > are (A) pathnames with spaces in them, and (B) pathnames with backslashes in
> > them, e.g. DJGPP and MinGW32 paths.
> Daniel,
> Thanks for a comprehensive summary.  I will read it in depth and
> respond by this evening; for now just one comment: the DJGPP port
> assumes the user mostly uses forward slashes, not backslashes.
> Perhaps doing that on Windows as well will make the job of fixing
> what's broken easier.  I don't think it's a bad limitation.

Thanks; no rush on this - I'll find something else to keep me busy
tomorrow and be back to it.

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).

Daniel Jacobowitz

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