This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH/commit] cleanup some fields in objfile.
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Tue, 10 Feb 2004 13:18:34 -0500
- Subject: [PATCH/commit] cleanup some fields in objfile.
Two fields that weren't used (they were introduced with the os9k port
in 1994). Four other fields deserve a comment.
2004-02-10 Elena Zannoni <ezannoni@redhat.com>
* objfiles.h (struct objfile): Remove unused fields auxf1 and
auxf2. Add comments about some other rarely used fields.
Index: objfiles.h
===================================================================
RCS file: /cvs/src/src/gdb/objfiles.h,v
retrieving revision 1.33
diff -u -p -r1.33 objfiles.h
--- objfiles.h 7 Feb 2004 23:13:47 -0000 1.33
+++ objfiles.h 10 Feb 2004 18:18:00 -0000
@@ -424,14 +424,15 @@ struct objfile
struct obj_section
*sections, *sections_end;
- /* two auxiliary fields, used to hold the fp of separate symbol files */
- FILE *auxf1, *auxf2;
-
/* 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;