Lines Matching defs:so
510 /* Maintain a linked list of "so" information. */
527 struct so_stuff *so = &solib_start;
529 while ((so = so->next))
530 if (so->loaded && strcasecmp (so->name, p->name) == 0)
585 struct so_stuff *so;
613 so = (struct so_stuff *) xmalloc (sizeof (struct so_stuff) + strlen (ppath) + 8 + 1);
614 so->loaded = 0;
615 so->load_addr = load_addr;
618 so->end_addr = (DWORD) m.AllocationBase + m.RegionSize;
620 so->end_addr = load_addr + 0x2000; /* completely arbitrary */
622 so->next = NULL;
623 so->objfile = NULL;
624 strcpy (so->name, ppath);
626 solib_end->next = so;
627 solib_end = so;
705 struct so_stuff *so;
707 for (so = &solib_start; so->next != NULL; so = so->next)
708 if (so->next->load_addr == lpBaseOfDll)
710 struct so_stuff *sodel = so->next;
711 so->next = sodel->next;
712 if (!so->next)
713 solib_end = so;
727 struct so_stuff *so;
728 for (so = &solib_start; so->next != NULL; so = so->next)
729 if (address >= so->load_addr && address <= so->end_addr)
730 return so->name;
745 struct so_stuff *so, *so1 = solib_start.next;
747 while ((so = so1) != NULL)
749 so1 = so->next;
750 xfree (so);
893 struct so_stuff *so = &solib_start;
895 if (!so->next)
899 while ((so = so->next) != NULL)
900 printf_filtered ("%*s %08lx\n", -max_dll_name_len, so->name, so->load_addr);
1962 /* this may fail in an attached process so don't check. */