This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFC] new substitute path when loading feature
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Aleksandar Ristovski <aristovski at qnx dot com>
- Cc: drow at false dot org, gdb-patches at sources dot redhat dot com
- Date: Tue, 13 May 2008 22:10:33 +0300
- Subject: Re: [RFC] new substitute path when loading feature
- References: <20080513181131.GA9899@caradoc.them.org> <4829E42D.4050105@qnx.com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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.