aboutsummaryrefslogtreecommitdiff
path: root/gdb/psymtab.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-02-11 18:11:32 -0700
committerTom Tromey <tom@tromey.com>2020-02-11 18:11:32 -0700
commitf056b22b92a0e95582f47591e0c327c642dfd80f (patch)
tree16331dd8272ae005e6460a99dd47f5cae6a4a9c5 /gdb/psymtab.h
parentf92ff6b55219a7c4c54a62412e194bbda713cf46 (diff)
downloadgdb-f056b22b92a0e95582f47591e0c327c642dfd80f.zip
gdb-f056b22b92a0e95582f47591e0c327c642dfd80f.tar.gz
gdb-f056b22b92a0e95582f47591e0c327c642dfd80f.tar.bz2
Update a comment in psymtab.h
This updates a comment in psymtab.h to reflect the current reality. gdb/ChangeLog 2020-02-11 Tom Tromey <tom@tromey.com> * psymtab.h: Update comment. Change-Id: I438bb5929c3ebd1a4c6e9a902490f2ef63014ab3
Diffstat (limited to 'gdb/psymtab.h')
-rw-r--r--gdb/psymtab.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/psymtab.h b/gdb/psymtab.h
index d665474..040b973 100644
--- a/gdb/psymtab.h
+++ b/gdb/psymtab.h
@@ -36,7 +36,9 @@ struct partial_symbol;
other memory managed by this class), or on the per-BFD object. The
only link from the psymtab storage object back to the objfile (or
objfile_obstack) that is made by the core psymtab code is the
- compunit_symtab member in the psymtab.
+ compunit_symtab member in the standard_psymtab -- and a given
+ symbol reader can avoid this by implementing its own subclasses of
+ partial_symtab.
However, it is up to each symbol reader to maintain this invariant
in other ways, if it wants to reuse psymtabs across multiple