diff options
Diffstat (limited to 'gdb/psymtab.h')
-rw-r--r-- | gdb/psymtab.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/psymtab.h b/gdb/psymtab.h index c0f0a97..d665474 100644 --- a/gdb/psymtab.h +++ b/gdb/psymtab.h @@ -83,11 +83,10 @@ public: return OBSTACK_CALLOC (obstack (), number, struct partial_symtab *); } - /* Allocate a new psymtab on the psymtab obstack. The new psymtab - will be linked in to the "psymtabs" list, but otherwise all other - fields will be zero. */ + /* Install a psymtab on the psymtab list. This transfers ownership + of PST to this object. */ - struct partial_symtab *allocate_psymtab (); + void install_psymtab (partial_symtab *pst); typedef next_adapter<struct partial_symtab> partial_symtab_range; |