diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-10-31 15:46:34 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-10-31 15:46:34 +0000 |
commit | f6c4bf1a82bff3359f5bb40bbca4ed62017fcac6 (patch) | |
tree | 0c1d733fc930b362b79705ae84e245a11730cd43 /gdb/objfiles.h | |
parent | e6d739ebb516e5b3c192d5dc5c899097b62147a2 (diff) | |
download | gdb-f6c4bf1a82bff3359f5bb40bbca4ed62017fcac6.zip gdb-f6c4bf1a82bff3359f5bb40bbca4ed62017fcac6.tar.gz gdb-f6c4bf1a82bff3359f5bb40bbca4ed62017fcac6.tar.bz2 |
* objfiles.h, infcmd.c, symfile.c: Add comments about how various
objfiles get created and when we should blow them away.
Diffstat (limited to 'gdb/objfiles.h')
-rw-r--r-- | gdb/objfiles.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/gdb/objfiles.h b/gdb/objfiles.h index b5b0622..bf1a930 100644 --- a/gdb/objfiles.h +++ b/gdb/objfiles.h @@ -149,10 +149,13 @@ struct obj_section { struct objfile *objfile; }; -/* Master structure for keeping track of each input file from which - gdb reads symbols. One of these is allocated for each such file we - access, e.g. the exec_file, symbol_file, and any shared library object - files. */ +/* Master structure for keeping track of each file from which + gdb reads symbols. There are several ways these get allocated: 1. + The main symbol file, symfile_objfile, set by the symbol-file command, + 2. Additional symbol files added by the add-symbol-file command, + 3. Shared library objfiles, added by ADD_SOLIB, 4. symbol files + for modules that were loaded when GDB attached to a remote system + (see remote-vx.c). */ struct objfile { |