[RFC] Do not treat '\' as escape character on MinGW Windows hosts
Chris Moller
cmoller@redhat.com
Thu Apr 22 11:49:00 GMT 2010
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
>
More information about the Gdb-patches
mailing list