From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8077 invoked by alias); 22 Feb 2006 04:30:38 -0000 Received: (qmail 8069 invoked by uid 22791); 22 Feb 2006 04:30:37 -0000 X-Spam-Check-By: sourceware.org Received: from romy.inter.net.il (HELO romy.inter.net.il) (192.114.186.66) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 22 Feb 2006 04:30:36 +0000 Received: from HOME-C4E4A596F7 (IGLD-80-230-83-119.inter.net.il [80.230.83.119]) by romy.inter.net.il (MOS 3.7.3-GA) with ESMTP id DPO15870 (AUTH halo1); Wed, 22 Feb 2006 06:30:26 +0200 (IST) Date: Wed, 22 Feb 2006 04:40:00 -0000 Message-Id: From: Eli Zaretskii To: gdb@sourceware.org In-reply-to: <20060221213324.GA30729@nevyn.them.org> (message from Daniel Jacobowitz on Tue, 21 Feb 2006 16:33:24 -0500) Subject: Re: Quoting, backslashes, CLI and MI Reply-to: Eli Zaretskii References: <20060221213324.GA30729@nevyn.them.org> X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00287.txt.bz2 > 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.