From: Doug Evans Date: Wed, 8 Dec 2010 17:31:52 +0000 (+0000) Subject: * dwarf2read.c (dw2_expand_symtabs_with_filename): Use FILENAME_CMP. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ef75ecca6ee904e9c312f9941515326c5ef7649;p=binutils-gdb.git * dwarf2read.c (dw2_expand_symtabs_with_filename): Use FILENAME_CMP. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6611a84dc04..17d67afc735 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-12-08 Doug Evans + + * dwarf2read.c (dw2_expand_symtabs_with_filename): Use FILENAME_CMP. + 2010-12-07 Doug Evans * dwarf2read.c (dw2_lookup_symtab): Remove duplicate call to diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index 1cc5258a565..82cde1bf4f6 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -2339,7 +2339,7 @@ dw2_expand_symtabs_with_filename (struct objfile *objfile, 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;