mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-28 14:08:09 +08:00
* objfiles.h, infcmd.c, symfile.c: Add comments about how various
objfiles get created and when we should blow them away.
This commit is contained in:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user