Lines Matching defs:so

218 pa64_solib_add_solib_objfile (struct so_list *so, char *name, int from_tty,
227 /* We need the BFD so that we can look at its sections. We open up the
275 so->objfile = symbol_file_add (name, from_tty, section_addrs, 0, OBJF_SHARED);
276 so->abfd = so->objfile->obfd;
279 so->objfile->flags |= OBJF_SHARED;
281 if (so->objfile->obj_private == NULL)
284 obstack_alloc (&so->objfile->objfile_obstack,
288 so->objfile->obj_private = obj_private;
291 obj_private = (obj_private_data_t *) so->objfile->obj_private;
292 obj_private->so_info = so;
293 obj_private->dp = so->pa64_solib_desc.linkage_ptr;
301 pa64_solib_load_symbols (struct so_list *so, char *name, int from_tty,
311 text_addr = so->pa64_solib_desc.text_base;
313 pa64_solib_add_solib_objfile (so, name, from_tty, text_addr);
318 if (build_section_table (so->abfd,
319 &so->sections,
320 &so->sections_end))
326 (so->objfile->section_offsets)->offsets[SECT_OFF_TEXT (so->objfile)]
327 = so->pa64_solib_desc.text_base;
328 (so->objfile->section_offsets)->offsets[SECT_OFF_DATA (so->objfile)]
329 = so->pa64_solib_desc.data_base;
332 for (p = so->sections; p < so->sections_end; p++)
336 p->addr += ANOFFSET (so->objfile->section_offsets, SECT_OFF_TEXT (so->objfile));
337 p->endaddr += ANOFFSET (so->objfile->section_offsets, SECT_OFF_TEXT (so->objfile));
341 p->addr += ANOFFSET (so->objfile->section_offsets, SECT_OFF_DATA (so->objfile));
342 p->endaddr += ANOFFSET (so->objfile->section_offsets, SECT_OFF_DATA (so->objfile));
361 new = so->sections_end - so->sections;
367 so->sections,
419 /* Read in the load map pointer if we have not done so already. */
453 This is our opportunity to set magic flags in the inferior so
456 needed (so GDB can set breakpoints in the library).
526 loaded so that we can load its symbols and place a breakpoint
561 so we don't need to actually insert a breakpoint instruction
563 ttrace, so we shouldn't even try to do that. For cases like
833 struct so_list *so = so_list_head;
835 while (so)
837 /* Is this address within this shlib's text range? If so,
839 if (addr >= so->pa64_solib_desc.text_base
840 && addr < (so->pa64_solib_desc.text_base
841 | so->pa64_solib_desc.text_size))
842 return so->name;
845 so = so->next;
929 so_lib_thread_start_addr (struct so_list *so)
931 return so->pa64_solib_desc.tls_start_addr;
936 This must happen after dld starts running, so we can't do it in
989 /* Add dld.sl to the list of known shared libraries so that we can