Quoting, backslashes, CLI and MI

Eli Zaretskii eliz@gnu.org
Wed Feb 22 04:40:00 GMT 2006


> Date: Tue, 21 Feb 2006 16:33:24 -0500
> From: Daniel Jacobowitz <drow@false.org>
> 
> 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.



More information about the Gdb mailing list