aboutsummaryrefslogtreecommitdiff
path: root/gdb/objfiles.h
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-08-10 19:57:41 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-08-10 19:57:41 +0000
commit0f1b1bcc12d5f96242c680a76c915fd46e35a811 (patch)
tree0c76c76c8209fc3eb5b46b3ca4a68039d0f59b7e /gdb/objfiles.h
parentc1cd5aecbb6c8f5f06f5a43f386de27f480b9be4 (diff)
downloadgdb-0f1b1bcc12d5f96242c680a76c915fd46e35a811.zip
gdb-0f1b1bcc12d5f96242c680a76c915fd46e35a811.tar.gz
gdb-0f1b1bcc12d5f96242c680a76c915fd46e35a811.tar.bz2
* objfiles.h (struct objfile): Clean up comments for
{obj,sym}_private to clarify what they are private to.
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r--gdb/objfiles.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h
index 3912999..19e7981 100644
--- a/gdb/objfiles.h
+++ b/gdb/objfiles.h
@@ -270,14 +270,17 @@ struct objfile
struct entry_info ei;
- /* Hook for information which is shared by sym_init and sym_read for
- this objfile. It is typically a pointer to malloc'd memory. */
+ /* Hook for information for use by the symbol reader (currently used
+ for information shared by sym_init and sym_read). It is
+ typically a pointer to malloc'd memory. The symbol reader's finish
+ function is responsible for freeing the memory thusly allocated. */
PTR sym_private;
- /* Hook for other info specific to this objfile. This must point to
- memory allocated on one of the obstacks in this objfile, so that it
- gets freed automatically when reading a new object file. */
+ /* Hook for target-architecture-specific information. This must
+ point to memory allocated on one of the obstacks in this objfile,
+ so that it gets freed automatically when reading a new object
+ file. */
PTR obj_private;