From: Tom Tromey Date: Wed, 12 Feb 2020 01:11:32 +0000 (-0700) Subject: Update a comment in psymtab.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f056b22b92a0e95582f47591e0c327c642dfd80f;p=binutils-gdb.git 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 * psymtab.h: Update comment. Change-Id: I438bb5929c3ebd1a4c6e9a902490f2ef63014ab3 --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4a4fa054c89..43fe4de6857 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2020-02-11 Tom Tromey + + * psymtab.h: Update comment. + 2020-02-11 Tom Tromey * gdb_obstack.h (struct auto_obstack): Use 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