aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/psymtab.h4
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 4a4fa05..43fe4de 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,9 @@
2020-02-11 Tom Tromey <tom@tromey.com>
+ * psymtab.h: Update comment.
+
+2020-02-11 Tom Tromey <tom@tromey.com>
+
* gdb_obstack.h (struct auto_obstack): Use
DISABLE_COPY_AND_ASSIGN.
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