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


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

Since the patch was sent so long ago, I can make the change and do
the testing, if people agree.

-- 
Joel


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