This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Do not treat '\' as escape character on MinGW Windows hosts


> Date: Wed, 21 Apr 2010 22:34:21 -0400
> From: Christopher Faylor <cgf-use-the-mailinglist-please@sourceware.org>
> 
> 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.

You're not alone.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]