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]

[commit] dw2_expand_symtabs_with_filename: Use FILENAME_CMP.


Hi.

fyi, I checked this in.

2010-12-08  Doug Evans  <dje@google.com>

	* dwarf2read.c (dw2_expand_symtabs_with_filename): Use FILENAME_CMP.

Index: dwarf2read.c
===================================================================
RCS file: /cvs/src/src/gdb/dwarf2read.c,v
retrieving revision 1.483
diff -u -p -r1.483 dwarf2read.c
--- dwarf2read.c	7 Dec 2010 17:30:52 -0000	1.483
+++ dwarf2read.c	8 Dec 2010 17:23:16 -0000
@@ -2339,7 +2365,7 @@ dw2_expand_symtabs_with_filename (struct
       for (j = 0; j < per_cu->v.quick->lines->num_file_names; ++j)
 	{
 	  const char *this_name = per_cu->v.quick->file_names[j];
-	  if (strcmp (this_name, filename) == 0)
+	  if (FILENAME_CMP (this_name, filename) == 0)
 	    {
 	      dw2_instantiate_symtab (objfile, per_cu);
 	      break;


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