diff options
author | Tom Tromey <tom@tromey.com> | 2018-03-28 15:35:46 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-03-30 13:15:58 -0600 |
commit | 263db9a1f4105b76ddf00829d50430ea0a3bcba6 (patch) | |
tree | a74d226240d6c08fbd9b8006649434338c77d99a /gdb/solib-darwin.c | |
parent | 5dafb3d176ab8d9b9f0a46111d7040bb51ad8f8e (diff) | |
download | gdb-263db9a1f4105b76ddf00829d50430ea0a3bcba6.zip gdb-263db9a1f4105b76ddf00829d50430ea0a3bcba6.tar.gz gdb-263db9a1f4105b76ddf00829d50430ea0a3bcba6.tar.bz2 |
Remove free_dwo_file_cleanup
This removes free_dwo_file_cleanup, the last cleanup in dwarf2read.c.
This is replaced with a unique_ptr; which, despite the fact that a
dwo_file is obstack-allocated, seemed like the best fit.
gdb/ChangeLog
2018-03-30 Tom Tromey <tom@tromey.com>
* dwarf2read.c (struct free_dwo_file_cleanup_data): Remove.
(struct dwo_file_deleter): New.
(dwo_file_up): New typedef.
(open_and_init_dwo_file): Use dwo_file_up.
(free_dwo_file_cleanup): Remove.
Diffstat (limited to 'gdb/solib-darwin.c')
0 files changed, 0 insertions, 0 deletions