From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9340 invoked by alias); 6 Feb 2007 11:58:13 -0000 Received: (qmail 9327 invoked by uid 22791); 6 Feb 2007 11:58:12 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Tue, 06 Feb 2007 11:58:08 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1HEOxR-0007Ni-Oo; Tue, 06 Feb 2007 06:57:57 -0500 Date: Tue, 06 Feb 2007 11:58:00 -0000 From: Daniel Jacobowitz To: Eli Zaretskii Cc: qinwei@sunnorth.com.cn, bjgnu@sunnorth.com.cn, gdb-patches@sourceware.org Subject: Re: [Patch]: Path problems when setting breakpoints using mingw-build-gdb Message-ID: <20070206115756.GA28356@nevyn.them.org> Mail-Followup-To: Eli Zaretskii , qinwei@sunnorth.com.cn, bjgnu@sunnorth.com.cn, gdb-patches@sourceware.org References: <20070205120616.GA25602@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) 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/msg00049.txt.bz2 On Tue, Feb 06, 2007 at 06:24:34AM +0200, Eli Zaretskii wrote: > > 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? On all platforms, please, not just on Windows. I regularly use Linux debuggers with files compiled on Windows, that contain backslashes - I would love to make that work better. -- Daniel Jacobowitz CodeSourcery