diff mbox

[pushed] Update a comment in psymtab.h

Message ID 20200212011150.19545-1-tom@tromey.com
State New
Headers show

Commit Message

Tom Tromey Feb. 12, 2020, 1:11 a.m. UTC
This updates a comment in psymtab.h to reflect the current reality.

2020-02-11  Tom Tromey  <tom@tromey.com>

	* psymtab.h: Update comment.

Change-Id: I438bb5929c3ebd1a4c6e9a902490f2ef63014ab3
 gdb/ChangeLog | 4 ++++
 gdb/psymtab.h | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)
diff mbox


diff --git a/gdb/psymtab.h b/gdb/psymtab.h
index d66547418cb..040b973927c 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