"$ gdb PROGRAM" vs "(gdb) file PROGRAM" difference; warn on failure to remove breakpoint.
[deliverable/binutils-gdb.git] / gdb / objfiles.c
index 81bbf24584dde42f8bee076e6fa38c1c80e289b3..a86e8bc9a1a83a6b89b769084b21ea2e8425bf26 100644 (file)
@@ -1454,14 +1454,14 @@ is_addr_in_objfile (CORE_ADDR addr, const struct objfile *objfile)
 }
 
 int
-userloaded_objfile_contains_address_p (struct program_space *pspace,
-                                      CORE_ADDR address)
+shared_objfile_contains_address_p (struct program_space *pspace,
+                                  CORE_ADDR address)
 {
   struct objfile *objfile;
 
   ALL_PSPACE_OBJFILES (pspace, objfile)
     {
-      if ((objfile->flags & OBJF_USERLOADED) != 0
+      if ((objfile->flags & OBJF_SHARED) != 0
          && is_addr_in_objfile (address, objfile))
        return 1;
     }
This page took 0.027611 seconds and 4 git commands to generate.