diff options
author | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-08-16 19:57:19 +0000 |
---|---|---|
committer | Jason Molenda <jsm@bugshack.cygnus.com> | 1999-08-16 19:57:19 +0000 |
commit | d450852cb3f7b4919eaf956ea0c34a5caeecee5e (patch) | |
tree | 335d04cc9cfc9029551b9176ca163584d4d54f71 /gdb/somread.c | |
parent | 39e2b1a6657bcf6f1ae2b616b447c9dab88917ef (diff) | |
download | gdb-d450852cb3f7b4919eaf956ea0c34a5caeecee5e.tar.gz |
import gdb-1999-08-16 snapshot
Diffstat (limited to 'gdb/somread.c')
-rw-r--r-- | gdb/somread.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/gdb/somread.c b/gdb/somread.c index 861f34d7549..55092b8955a 100644 --- a/gdb/somread.c +++ b/gdb/somread.c @@ -482,34 +482,6 @@ som_symfile_offsets (objfile, addr) return section_offsets; } - - -/* Check if a given symbol NAME is in the import list - of OBJFILE. - 1 => true, 0 => false - This is used in hp_symtab_read.c to deal with static variables - that are defined in a different shared library than the one - whose symbols are being processed. */ - -int -is_in_import_list (name, objfile) - char *name; - struct objfile *objfile; -{ - register int i; - - if (!objfile || - !name || - !*name) - return 0; - - for (i = 0; i < objfile->import_list_size; i++) - if (objfile->import_list[i] && STREQ (name, objfile->import_list[i])) - return 1; - return 0; -} - - /* Read in and initialize the SOM import list which is present for all executables and shared libraries. The import list consists of the symbols that are referenced in OBJFILE but |