diff options
author | Tom Tromey <tom@tromey.com> | 2020-12-11 09:33:36 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2020-12-11 09:33:40 -0700 |
commit | 24fd95b4cd40f0108299c02f31f2d2a129f83769 (patch) | |
tree | 6ec333c8b503bf0d1977889bcebba980dd1b24c9 /makefile.vms | |
parent | 7446266408f6c8cdf890c23c391c0c803c7077ca (diff) | |
download | gdb-24fd95b4cd40f0108299c02f31f2d2a129f83769.zip gdb-24fd95b4cd40f0108299c02f31f2d2a129f83769.tar.gz gdb-24fd95b4cd40f0108299c02f31f2d2a129f83769.tar.bz2 |
Change varobj_dynamic::child_iter to unique_ptr
This changes varobj_dynamic::child_iter to be a unique_ptr, removing
some manual management.
gdb/ChangeLog
2020-12-11 Tom Tromey <tom@tromey.com>
* varobj.c (struct varobj_dynamic) <child_iter>: Now unique_ptr.
(varobj_get_iterator): Return unique_ptr.
(update_dynamic_varobj_children, install_visualizer)
(varobj::~varobj): Update.
* python/python-internal.h (py_varobj_get_iterator): Return
unique_ptr.
* python/py-varobj.c (py_varobj_get_iterator): Return unique_ptr.
Diffstat (limited to 'makefile.vms')
0 files changed, 0 insertions, 0 deletions