* objfiles.h (ImportEntry, ExportEntry): Remove types.
(struct objfile): Remove import_list, import_list_size, export_list, export_list_size members. (is_in_import_list): Remove prototype. * objfiles.c (is_in_import_list): Remove. * somread.c (init_import_symbols, init_export_symbols): Remove. (som_symfile_read): Do not call init_import_symbols. Do not set objfile->export_list and objfile->export_list_size.
This commit is contained in:
parent
79d4951621
commit
5e787d22c9
4 changed files with 11 additions and 315 deletions
|
@ -794,23 +794,6 @@ in_plt_section (CORE_ADDR pc, char *name)
|
|||
&& strcmp (s->the_bfd_section->name, ".plt") == 0);
|
||||
return (retval);
|
||||
}
|
||||
|
||||
/* Return nonzero if NAME is in the import list of OBJFILE. Else
|
||||
return zero. */
|
||||
|
||||
int
|
||||
is_in_import_list (char *name, struct objfile *objfile)
|
||||
{
|
||||
int i;
|
||||
|
||||
if (!objfile || !name || !*name)
|
||||
return 0;
|
||||
|
||||
for (i = 0; i < objfile->import_list_size; i++)
|
||||
if (objfile->import_list[i] && DEPRECATED_STREQ (name, objfile->import_list[i]))
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/* Keep a registry of per-objfile data-pointers required by other GDB
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue