diff options
author | Tom Tromey <tom@tromey.com> | 2018-05-20 10:22:19 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-07-16 08:55:14 -0600 |
commit | 905eb0e293820ae91941100ebed291a8f74e1f12 (patch) | |
tree | c2ccbf9b9fb5de3a825614511b5b97f7a5883c6e /gdb/ChangeLog | |
parent | b248663fe5654192101fc95dbe0cbfb389564359 (diff) | |
download | gdb-905eb0e293820ae91941100ebed291a8f74e1f12.zip gdb-905eb0e293820ae91941100ebed291a8f74e1f12.tar.gz gdb-905eb0e293820ae91941100ebed291a8f74e1f12.tar.bz2 |
Change buildsym_compunit::comp_dir to be a unique_xmalloc_ptr
This change buildsym_compunit::comp_dir to be a unique_xmalloc_ptr.
This is just a small cleanup to remove some manual memory management.
gdb/ChangeLog
2018-07-16 Tom Tromey <tom@tromey.com>
* buildsym.c (~buildsym_compunit): Update.
(struct buildsym_compunit) <comp_unit>: Now a unique_xmalloc_ptr.
(start_subfile, patch_subfile_names)
(end_symtab_with_blockvector): Update.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index dbfb028..29df4a0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,12 @@ 2018-07-16 Tom Tromey <tom@tromey.com> + * buildsym.c (~buildsym_compunit): Update. + (struct buildsym_compunit) <comp_unit>: Now a unique_xmalloc_ptr. + (start_subfile, patch_subfile_names) + (end_symtab_with_blockvector): Update. + +2018-07-16 Tom Tromey <tom@tromey.com> + * buildsym.c (struct buildsym_compunit): Add constructor, destructor, initializers. (start_buildsym_compunit): Remove. |