From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2644 invoked by alias); 6 Feb 2007 04:24:48 -0000 Received: (qmail 2629 invoked by uid 22791); 6 Feb 2007 04:24:47 -0000 X-Spam-Check-By: sourceware.org Received: from heller.inter.net.il (HELO heller.inter.net.il) (213.8.233.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 06 Feb 2007 04:24:42 +0000 Received: from HOME-C4E4A596F7 (IGLD-84-229-216-202.inter.net.il [84.229.216.202]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id BUT99850 (AUTH halo1); Tue, 6 Feb 2007 06:24:30 +0200 (IST) Date: Tue, 06 Feb 2007 04:24:00 -0000 Message-Id: From: Eli Zaretskii To: Daniel Jacobowitz CC: qinwei@sunnorth.com.cn, bjgnu@sunnorth.com.cn, gdb-patches@sourceware.org In-reply-to: <20070205120616.GA25602@nevyn.them.org> (message from Daniel Jacobowitz on Mon, 5 Feb 2007 07:06:17 -0500) Subject: Re: [Patch]: Path problems when setting breakpoints using mingw-build-gdb Reply-to: Eli Zaretskii References: <20070205120616.GA25602@nevyn.them.org> 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: 2007-02/txt/msg00047.txt.bz2 > Date: Mon, 5 Feb 2007 07:06:17 -0500 > From: Daniel Jacobowitz > Cc: Eli Zaretskii , bjgnu@sunnorth.com.cn, > gdb-patches@sourceware.org > > What I believe we need to do is use a different function to > compare filenames, one which allows \ and / to be treated as equal (on > all platforms). I don't know if it should also do case insensitive > comparison on all platforms, but it should certainly do so on Windows. We already have FILENAME_CMP; perhaps all we need is to expand it on Windows into a specially written (perhaps inline) function instead of strcasecmp. WDYT?