diff options
Diffstat (limited to 'gdb/psympriv.h')
-rw-r--r-- | gdb/psympriv.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/psympriv.h b/gdb/psympriv.h index 0d1507b..64ae72f 100644 --- a/gdb/psympriv.h +++ b/gdb/psympriv.h @@ -173,6 +173,9 @@ struct partial_symtab virtual struct compunit_symtab *get_compunit_symtab (struct objfile *) const = 0; + virtual void reset_compunit_symtab + (struct objfile *) = 0; + /* Return the raw low text address of this partial_symtab. */ CORE_ADDR raw_text_low () const { @@ -428,6 +431,11 @@ struct standard_psymtab : public partial_symtab return compunit_symtab; } + void reset_compunit_symtab (struct objfile *) override + { + compunit_symtab = nullptr; + } + /* True if the symtab corresponding to this psymtab has been readin. */ |