PR 12848
[deliverable/binutils-gdb.git] / gdb / exec.c
index 383d3010aaefd161ba310cdb2e4e6432a2bf615a..a2da9d5297c1e49e338878e995ca6493fbc54a86 100644 (file)
@@ -25,6 +25,7 @@
 #include "target.h"
 #include "gdbcmd.h"
 #include "language.h"
+#include "filenames.h"
 #include "symfile.h"
 #include "objfiles.h"
 #include "completer.h"
@@ -845,7 +846,7 @@ exec_set_section_address (const char *filename, int index, CORE_ADDR address)
   table = current_target_sections;
   for (p = table->sections; p < table->sections_end; p++)
     {
-      if (strcmp (filename, p->bfd->filename) == 0
+      if (filename_cmp (filename, p->bfd->filename) == 0
          && index == p->the_bfd_section->index)
        {
          p->endaddr += address - p->addr;
This page took 0.024434 seconds and 4 git commands to generate.