Basic c++ification of varobj
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 9121ff2e1a2a52c52248c0b6dfb758a43d9ed47e..5dccc138fd3f2f1a4744e79ea1ca5ec3fa48f3a1 100644 (file)
@@ -1,3 +1,22 @@
+2017-11-22  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * varobj.h (struct varobj): Add constructor and destructor,
+       initialize fields.
+       * varobj.c (struct varobj_root): Initialize fields.
+       (struct varobj_dynamic): Initialize fields.
+       (varobj_create): Use unique_ptr instead of cleanup.  Create
+       varobj with new instead of new_root_variable.
+       (delete_variable_1): Free variable with delete instead of
+       free_variable.
+       (create_child_with_value): Create variable with new instead of
+       new_variable.
+       (varobj::varobj): New.
+       (varobj::~varobj): New (body mostly coming from free_variable).
+       (new_variable): Remove.
+       (free_variable): Remove.
+       (do_free_variable_cleanup): Remove.
+       (make_cleanup_free_variable): Remove.
+
 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * core-regset.c: Remove file.
This page took 0.030723 seconds and 4 git commands to generate.