mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-29 08:24:05 +08:00
Add a comment briefly explaining partial symbols
Based on an explanation by tromey on IRC. gdb/ChangeLog: 2019-08-05 Christian Biesinger <cbiesinger@google.com> * objfiles.h (objfile): Add a comment describing partial symbols.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2019-08-05 Christian Biesinger <cbiesinger@google.com>
|
||||||
|
|
||||||
|
* objfiles.h (objfile): Add a comment describing partial symbols.
|
||||||
|
|
||||||
2019-08-05 Tom Tromey <tromey@adacore.com>
|
2019-08-05 Tom Tromey <tromey@adacore.com>
|
||||||
|
|
||||||
* compile/compile.c (_initialize_compile): Use _(), not N_().
|
* compile/compile.c (_initialize_compile): Use _(), not N_().
|
||||||
|
@ -382,7 +382,13 @@ private:
|
|||||||
2. Additional symbol files added by the add-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
|
3. Shared library objfiles, added by ADD_SOLIB, 4. symbol files
|
||||||
for modules that were loaded when GDB attached to a remote system
|
for modules that were loaded when GDB attached to a remote system
|
||||||
(see remote-vx.c). */
|
(see remote-vx.c).
|
||||||
|
|
||||||
|
GDB typically reads symbols twice -- first an initial scan which just
|
||||||
|
reads "partial symbols"; these are partial information for the
|
||||||
|
static/global symbols in a symbol file. When later looking up symbols,
|
||||||
|
objfile->sf->qf->lookup_symbol is used to check if we only have a partial
|
||||||
|
symbol and if so, read and expand the full compunit. */
|
||||||
|
|
||||||
struct objfile
|
struct objfile
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user