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

Eli Zaretskii eliz@gnu.org
Tue Feb 6 04:24:00 GMT 2007


> 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?



More information about the Gdb-patches mailing list