bfd:
[deliverable/binutils-gdb.git] / binutils / debug.c
index ebe63f1f25f2afff8b45e0fb1ecfd41d73e37a94..ee0d62e8ff9218cc3b854ed04d80112088402b94 100644 (file)
@@ -31,6 +31,7 @@
 #include <assert.h>
 #include "bfd.h"
 #include "libiberty.h"
+#include "filenames.h"
 #include "debug.h"
 
 /* Global information we keep for debugging.  A pointer to this
@@ -729,9 +730,7 @@ debug_start_source (void *handle, const char *name)
 
   for (f = info->current_unit->files; f != NULL; f = f->next)
     {
-      if (f->filename[0] == name[0]
-         && f->filename[1] == name[1]
-         && strcmp (f->filename, name) == 0)
+      if (filename_cmp (f->filename, name) == 0)
        {
          info->current_file = f;
          return TRUE;
This page took 0.024894 seconds and 4 git commands to generate.