Re: [RFC] new substitute path when loading feature

Eli Zaretskii
2008-05-13T19:11:18Z

> Date: Tue, 13 May 2008 14:55:41 -0400
> From: Aleksandar Ristovski <aristovski@qnx.com>
> CC: gdb-patches@sources.redhat.com
>
> Now without my change, this will sometimes work, sometimes it won't. For example, if the program was compiled on windows like this:
>
> C:\Temp\dirs\debug>gcc -g -O0 -c ../main.c -o main.o
>
> things would work. However if built like this:
>
> C:\Temp\dirs\debug>gcc -g -O0 -c c:\Temp\dirs\main.c -o main.o
>
> things would not work (as shown above).

Why wouldn't it be a good idea to fix this in GCC? It could normalize
all backslashes into forward slashes.