}
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;
}