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] Fix avoiding of unnecessary psymtabs in dwarf_decode_lines


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


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