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

Joel Brobecker brobecker@adacore.com
Thu Apr 22 00:17:00 GMT 2010


> >        (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)...

-- 
Joel



More information about the Gdb-patches mailing list