mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
* dwarf2read.c (dw2_expand_symtabs_with_filename): Use FILENAME_CMP.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2010-12-08 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
|
* dwarf2read.c (dw2_expand_symtabs_with_filename): Use FILENAME_CMP.
|
||||||
|
|
||||||
2010-12-07 Doug Evans <dje@google.com>
|
2010-12-07 Doug Evans <dje@google.com>
|
||||||
|
|
||||||
* dwarf2read.c (dw2_lookup_symtab): Remove duplicate call to
|
* dwarf2read.c (dw2_lookup_symtab): Remove duplicate call to
|
||||||
|
@ -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)
|
for (j = 0; j < per_cu->v.quick->lines->num_file_names; ++j)
|
||||||
{
|
{
|
||||||
const char *this_name = per_cu->v.quick->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);
|
dw2_instantiate_symtab (objfile, per_cu);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user