This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Quoting, backslashes, CLI and MI
- From: Eli Zaretskii <eliz at gnu dot org>
- To: gdb at sourceware dot org
- Date: Wed, 22 Feb 2006 06:30:30 +0200
- Subject: Re: Quoting, backslashes, CLI and MI
- References: <20060221213324.GA30729@nevyn.them.org>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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.