From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28058 invoked by alias); 22 Apr 2010 02:34:29 -0000 Received: (qmail 28033 invoked by uid 22791); 22 Apr 2010 02:34:27 -0000 X-Spam-Check-By: sourceware.org Received: from pool-173-76-55-5.bstnma.fios.verizon.net (HELO cgf.cx) (173.76.55.5) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Thu, 22 Apr 2010 02:34:23 +0000 Received: from ednor.cgf.cx (ednor.casa.cgf.cx [192.168.187.5]) by cgf.cx (Postfix) with ESMTP id BA3AC13C061; Wed, 21 Apr 2010 22:34:21 -0400 (EDT) Received: by ednor.cgf.cx (Postfix, from userid 201) id 94AAD2B352; Wed, 21 Apr 2010 22:34:21 -0400 (EDT) Date: Thu, 22 Apr 2010 02:34:00 -0000 From: Christopher Faylor To: gdb-patches@sourceware.org, Joel Brobecker Subject: Re: [RFC] Do not treat '\' as escape character on MinGW Windows hosts Message-ID: <20100422023421.GA20111@ednor.casa.cgf.cx> Mail-Followup-To: gdb-patches@sourceware.org, Joel Brobecker References: <20100421203354.GD6588@adacore.com> <20100421220828.GA19620@ednor.casa.cgf.cx> <20100422001714.GD19194@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100422001714.GD19194@adacore.com> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-04/txt/msg00733.txt.bz2 On Wed, Apr 21, 2010 at 08:17:14PM -0400, Joel Brobecker wrote: >> > (gdb) file c:\\foo\\bar.exe >> > Reading symbols from c:\foo\bar.exe...done. >> >> Why not just use a "forward" slash? > >It's not always that easy - A lot of times, the user wants to copy/paste >a path that's been printed by another tool. Also, the typical Windows >user seems to think that he should be able to use a valid Windows path >(which I agree)... I agree too except when we're talking about something that is essentially a UNIX tool. And, I don't see how you can talk about the pain of doubling up the backslashes if you're talking about cutting and pasting. I know I'll be outvoted here but I I hate cluttering code with MS-DOS workarounds. cgf