diff options
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/objfiles.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8c26bb0..ecd2124 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2019-12-12 Tom Tromey <tom@tromey.com> + * objfiles.h (struct objfile) <partial_symtabs>: Now a + unique_ptr. + +2019-12-12 Tom Tromey <tom@tromey.com> + * progspace.h (objfile_list): New typedef. (class unwrapping_objfile_iterator) (struct unwrapping_objfile_range): Newl diff --git a/gdb/objfiles.h b/gdb/objfiles.h index f0ee803..9a433dd 100644 --- a/gdb/objfiles.h +++ b/gdb/objfiles.h @@ -518,7 +518,7 @@ public: /* The partial symbol tables. */ - std::shared_ptr<psymtab_storage> partial_symtabs; + std::unique_ptr<psymtab_storage> partial_symtabs; /* The object file's BFD. Can be null if the objfile contains only minimal symbols, e.g. the run time common symbols for SunOS4. */ |