From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7333 invoked by alias); 22 Apr 2010 12:01:51 -0000 Received: (qmail 7243 invoked by uid 22791); 22 Apr 2010 12:01:49 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,MSGID_MULTIPLE_AT X-Spam-Check-By: sourceware.org Received: from mailhost.u-strasbg.fr (HELO mailhost.u-strasbg.fr) (130.79.200.156) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 22 Apr 2010 12:01:46 +0000 Received: from baal.u-strasbg.fr (baal.u-strasbg.fr [IPv6:2001:660:2402::41]) by mailhost.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id o3MC1Bls016147 ; Thu, 22 Apr 2010 14:01:11 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from mailserver.u-strasbg.fr (ms2.u-strasbg.fr [IPv6:2001:660:2402:d::11]) by baal.u-strasbg.fr (8.14.0/jtpda-5.5pre1) with ESMTP id o3MC1BJd052083 ; Thu, 22 Apr 2010 14:01:11 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) Received: from d620muller (gw-ics.u-strasbg.fr [130.79.210.225]) (user=mullerp mech=LOGIN) by mailserver.u-strasbg.fr (8.14.3/jtpda-5.5pre1) with ESMTP id o3MC1AGq099277 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) ; Thu, 22 Apr 2010 14:01:10 +0200 (CEST) (envelope-from pierre.muller@ics-cnrs.unistra.fr) From: "Pierre Muller" To: "'Joel Brobecker'" , Cc: References: <20100421203354.GD6588@adacore.com> <20100421220828.GA19620@ednor.casa.cgf.cx> <20100422001714.GD19194@adacore.com> <20100422023421.GA20111@ednor.casa.cgf.cx> <20100422103718.GG19194@adacore.com> <20100422115139.GH19194@adacore.com> In-Reply-To: <20100422115139.GH19194@adacore.com> Subject: RE: [RFC] Do not treat '\' as escape character on MinGW Windows hosts Date: Thu, 22 Apr 2010 12:01:00 -0000 Message-ID: <001601cae213$80998080$81cc8180$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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/msg00744.txt.bz2 > -----Message d'origine----- > De=A0: gdb-patches-owner@sourceware.org [mailto:gdb-patches- > owner@sourceware.org] De la part de Joel Brobecker > Envoy=E9=A0: Thursday, April 22, 2010 1:52 PM > =C0=A0: gcc-patches@gcc.gnu.org > Cc=A0: gdb-patches@sourceware.org > Objet=A0: Re: [RFC] Do not treat '\' as escape character on MinGW Windows > hosts >=20 > Ooops - I had intended to start this email thread on GCC-patches, > Cc'ing GDB-patches, but I made a typo, and sent it to GDB-patches > Cc'ing the very same GDB-patches. I hope you'll forgive the cross post, > but since this is common code... >=20 > Here is what has been discussed, so far... I'm mostly trying to discuss > the idea of making backslash a normal character as opposed to an escape > character in arguments when on (MinGW) windows, whether the idea gets > sufficiently positive feedback that we can move ahead an implement this > suggestion (patch attached FYI). Should we rather think about a command that would allow to switch from Unix to Windows behavior? set windows-escape-mode on/auto/off The default 'auto' mode would adapt to the target we are debugging which would be 'on' for mingw* targets and possibly other Windows-like targets and 'off' for most others (this would become a gdbarch or a tdep field...). People that really dislike this could still force old behavior by setting 'set windows-escape-mode' to 'off'. Of course this is only valid for GDB, I don't know how this could be handled within GCC. Pierre Muller Pascal language support maintainer for GDB