This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch]: Path problems when setting breakpoints using mingw-build-gdb


> Date: Mon, 5 Feb 2007 07:06:17 -0500
> From: Daniel Jacobowitz <drow@false.org>
> Cc: Eli Zaretskii <eliz@gnu.org>, 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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]