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


On 04/21/10 22:34, Christopher Faylor wrote:
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.

+1


cgf


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