aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.h
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.h
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.h')
-rw-r--r--gdb/objfiles.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h
index 7b3cf07..d3df7f8 100644
--- a/gdb/objfiles.h
+++ b/gdb/objfiles.h
@@ -149,24 +149,6 @@ struct obj_section
int ovly_mapped;
};
-/* An import entry contains information about a symbol that
- is used in this objfile but not defined in it, and so needs
- to be imported from some other objfile */
-/* Currently we just store the name; no attributes. 1997-08-05 */
-typedef char *ImportEntry;
-
-
-/* An export entry contains information about a symbol that
- is defined in this objfile and available for use in other
- objfiles */
-typedef struct
- {
- char *name; /* name of exported symbol */
- int address; /* offset subject to relocation */
- /* Currently no other attributes 1997-08-05 */
- }
-ExportEntry;
-
/* The "objstats" structure provides a place for gdb to record some
interesting information about its internal state at runtime, on a
@@ -406,18 +388,6 @@ struct objfile
struct obj_section
*sections, *sections_end;
- /* Imported symbols */
- /* FIXME: ezannoni 2004-02-10: This is just SOM (HP) specific (see
- somread.c). It should not pollute generic objfiles. */
- ImportEntry *import_list;
- int import_list_size;
-
- /* Exported symbols */
- /* FIXME: ezannoni 2004-02-10: This is just SOM (HP) specific (see
- somread.c). It should not pollute generic objfiles. */
- ExportEntry *export_list;
- int export_list_size;
-
/* Link to objfile that contains the debug symbols for this one.
One is loaded if this file has an debug link to an existing
debug file with the right checksum */
@@ -558,8 +528,6 @@ extern struct obj_section *find_pc_sect_section (CORE_ADDR pc,
extern int in_plt_section (CORE_ADDR, char *);
-extern int is_in_import_list (char *, struct objfile *);
-
/* Keep a registry of per-objfile data-pointers required by other GDB
modules. */