[patch] Fix avoiding of unnecessary psymtabs in dwarf_decode_lines

Eli Zaretskii eliz@gnu.org
Tue Oct 26 17:41:00 GMT 2010


> Date: Tue, 26 Oct 2010 09:39:28 -0400
> From: Joel Brobecker <brobecker@adacore.com>
> Cc: gdb-patches@sourceware.org
> 
> [I am soooo far behind on gdb patches :-(]
> 
> > +  file_is_pst = strcmp (include_name_to_compare, pst_filename) == 0;
> 
> I know that the original code was already using strcmp to do the
> comparison, but shouldn't we be using FILENAME_CMP instead.  That should
> take care of platforms where the filesystem is case insensitive...

Yes, definitely.  Thanks for catching this.



More information about the Gdb-patches mailing list