Lines Matching defs:so

202    static int solib_map_sections (struct so_list *so)
224 struct so_list *so = (struct so_list *) arg; /* catch_errors bogon */
232 filename = tilde_expand (so->so_name);
252 so->abfd = abfd;
255 /* copy full path name into so_name, so that later symbol_file_add
259 strcpy (so->so_name, scratch_pathname);
266 if (build_section_table (abfd, &so->sections, &so->sections_end))
272 for (p = so->sections; p < so->sections_end; p++)
277 TARGET_SO_RELOCATE_SECTION_ADDRESSES (so, p);
280 so->textsection = p;
296 void free_so (struct so_list *so)
312 free_so (struct so_list *so)
316 if (so->sections)
317 xfree (so->sections);
319 if (so->abfd)
321 bfd_filename = bfd_get_filename (so->abfd);
322 if (! bfd_close (so->abfd))
330 TARGET_SO_FREE_SO (so);
332 xfree (so);
341 struct so_list *so = (struct so_list *) arg; /* catch_errs bogon */
345 ALL_OBJFILES (so->objfile)
347 if (strcmp (so->objfile->name, so->so_name) == 0)
351 sap = build_section_addr_info_from_section_table (so->sections,
352 so->sections_end);
354 so->objfile = symbol_file_add (so->so_name, so->from_tty,
389 processes we've just attached to, so that's okay. */
458 it's still loaded, so we don't need to do anything. Delete
478 sections from so->abfd; remove them. */
507 section table. Do this immediately after mapping the object so
630 struct so_list *so = NULL; /* link map state variable */
654 for (so = so_list_head; so; so = so->next)
656 if (so->so_name[0])
667 so->textsection != NULL
669 (LONGEST) so->textsection->addr,
673 so->textsection != NULL
675 (LONGEST) so->textsection->endaddr,
678 printf_unfiltered ("%-12s", so->symbols_loaded ? "Yes" : "No");
679 printf_unfiltered ("%s\n", so->so_name);
712 struct so_list *so = 0; /* link map state variable */
714 for (so = so_list_head; so; so = so->next)
718 for (p = so->sections; p < so->sections_end; p++)
721 return (so->so_name);
740 until after the program starts, so we'd better not try to insert
747 as soon as the process begins execution, so there's no need to
749 bp_shlib_event breakpoint, so if we put it off, we'll never get
759 struct so_list *so = so_list_head;
760 so_list_head = so->next;
761 if (so->abfd)
762 remove_target_sections (so->abfd);
763 free_so (so);
810 code. Return 1 if so, 0 otherwise.