aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-12-08 17:31:52 +0000
committerDoug Evans <dje@google.com>2010-12-08 17:31:52 +0000
commit1ef75ecca6ee904e9c312f9941515326c5ef7649 (patch)
tree6bb8deba5dd2de723c48f0952a7df69d978ae366 /gdb
parent98f0b5d4e51f85fd717cda948174ec5c43305e08 (diff)
downloadgdb-1ef75ecca6ee904e9c312f9941515326c5ef7649.zip
gdb-1ef75ecca6ee904e9c312f9941515326c5ef7649.tar.gz
gdb-1ef75ecca6ee904e9c312f9941515326c5ef7649.tar.bz2
* dwarf2read.c (dw2_expand_symtabs_with_filename): Use FILENAME_CMP.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/dwarf2read.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 6611a84..17d67af 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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>
* dwarf2read.c (dw2_lookup_symtab): Remove duplicate call to
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 1cc5258..82cde1b 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;