aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2020-12-11 09:33:36 -0700
committerTom Tromey <tom@tromey.com>2020-12-11 09:33:40 -0700
commit24fd95b4cd40f0108299c02f31f2d2a129f83769 (patch)
tree6ec333c8b503bf0d1977889bcebba980dd1b24c9 /opcodes
parent7446266408f6c8cdf890c23c391c0c803c7077ca (diff)
downloadgdb-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 'opcodes')
0 files changed, 0 insertions, 0 deletions