aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2007-06-05 22:46:30 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2007-06-05 22:46:30 +0000
commit5e787d22c9685b84fd1d7b22256d54a1d9d03aeb (patch)
treec0da9d34a47f536d58287407e7c4dab992b88764 /gdb/objfiles.c
parent79d4951621eec323a92ad518f474f7ccee143aa3 (diff)
downloadgdb-5e787d22c9685b84fd1d7b22256d54a1d9d03aeb.zip
gdb-5e787d22c9685b84fd1d7b22256d54a1d9d03aeb.tar.gz
gdb-5e787d22c9685b84fd1d7b22256d54a1d9d03aeb.tar.bz2
* 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.
Diffstat (limited to 'gdb/objfiles.c')
-rw-r--r--gdb/objfiles.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/gdb/objfiles.c b/gdb/objfiles.c
index 64b2ecc..97c123f 100644
--- a/gdb/objfiles.c
+++ b/gdb/objfiles.c
@@ -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