Lines Matching defs:so
515 /* Maintain a linked list of "so" information. */
532 struct so_stuff *so = &solib_start;
534 while ((so = so->next))
535 if (so->loaded && strcasecmp (so->name, p->name) == 0)
590 struct so_stuff *so;
618 so = (struct so_stuff *) xmalloc (sizeof (struct so_stuff) + strlen (ppath) + 8 + 1);
619 so->loaded = 0;
620 so->load_addr = load_addr;
623 so->end_addr = (DWORD) m.AllocationBase + m.RegionSize;
625 so->end_addr = load_addr + 0x2000; /* completely arbitrary */
627 so->next = NULL;
628 so->objfile = NULL;
629 strcpy (so->name, ppath);
631 solib_end->next = so;
632 solib_end = so;
710 struct so_stuff *so;
712 for (so = &solib_start; so->next != NULL; so = so->next)
713 if (so->next->load_addr == lpBaseOfDll)
715 struct so_stuff *sodel = so->next;
716 so->next = sodel->next;
717 if (!so->next)
718 solib_end = so;
732 struct so_stuff *so;
733 for (so = &solib_start; so->next != NULL; so = so->next)
734 if (address >= so->load_addr && address <= so->end_addr)
735 return so->name;
750 struct so_stuff *so, *so1 = solib_start.next;
752 while ((so = so1) != NULL)
754 so1 = so->next;
755 xfree (so);
898 struct so_stuff *so = &solib_start;
900 if (!so->next)
904 while ((so = so->next) != NULL)
905 printf_filtered ("%*s %08lx\n", -max_dll_name_len, so->name, so->load_addr);
1936 /* this may fail in an attached process so don't check. */