From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8554 invoked by alias); 13 May 2008 19:11:18 -0000 Received: (qmail 8544 invoked by uid 22791); 13 May 2008 19:11:18 -0000 X-Spam-Check-By: sourceware.org Received: from mtaout4.012.net.il (HELO mtaout4.012.net.il) (84.95.2.10) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 13 May 2008 19:10:58 +0000 Received: from HOME-C4E4A596F7 ([83.130.255.47]) by i_mtaout4.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K0T003YAN9T8UB1@i_mtaout4.012.net.il> for gdb-patches@sources.redhat.com; Tue, 13 May 2008 22:25:06 +0300 (IDT) Date: Tue, 13 May 2008 21:12:00 -0000 From: Eli Zaretskii Subject: Re: [RFC] new substitute path when loading feature In-reply-to: <4829E42D.4050105@qnx.com> X-012-Sender: halo1@inter.net.il To: Aleksandar Ristovski Cc: drow@false.org, gdb-patches@sources.redhat.com Reply-to: Eli Zaretskii Message-id: References: <20080513181131.GA9899@caradoc.them.org> <4829E42D.4050105@qnx.com> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-05/txt/msg00409.txt.bz2 > Date: Tue, 13 May 2008 14:55:41 -0400 > From: Aleksandar Ristovski > 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.