From 0f1b1bcc12d5f96242c680a76c915fd46e35a811 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Tue, 10 Aug 1993 19:57:41 +0000 Subject: [PATCH] * objfiles.h (struct objfile): Clean up comments for {obj,sym}_private to clarify what they are private to. --- gdb/ChangeLog | 5 +++++ gdb/objfiles.h | 13 ++++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f90ed16..25de985 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +Tue Aug 10 14:50:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com) + + * objfiles.h (struct objfile): Clean up comments for + {obj,sym}_private to clarify what they are private to. + Mon Aug 9 16:45:00 1993 Stan Shebs (shebs@rtl.cygnus.com) * stabsread.c, buildsym.c (hashname): Moved function to 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; -- 2.7.4