Honour PRIVATE keyword
[deliverable/binutils-gdb.git] / gdb / solib.c
index fcd2ad40ee200d393a873bcd628fb078b4148e9c..a98c3bdfed731d7db29e9bed4a592f4729333dab 100644 (file)
@@ -42,7 +42,7 @@
 #include "filenames.h"         /* for DOSish file names */
 #include "exec.h"
 #include "solist.h"
-#include <readline/readline.h>
+#include "readline/readline.h"
 
 /* external data declarations */
 
@@ -250,7 +250,7 @@ solib_map_sections (void *arg)
 
   /* Leave bfd open, core_xfer_memory and "info files" need it.  */
   so->abfd = abfd;
-  abfd->cacheable = 1;
+  bfd_set_cacheable (abfd, 1);
 
   /* copy full path name into so_name, so that later symbol_file_add
      can find it */
@@ -275,7 +275,7 @@ solib_map_sections (void *arg)
          object's file by the base address to which the object was actually
          mapped. */
       TARGET_SO_RELOCATE_SECTION_ADDRESSES (so, p);
-      if (STREQ (p->the_bfd_section->name, ".text"))
+      if (strcmp (p->the_bfd_section->name, ".text") == 0)
        {
          so->textsection = p;
        }
This page took 0.025007 seconds and 4 git commands to generate.