Introduce gdbpy_enter_varobj and use it
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 9f4b40194a35dea1d9f810c64d8aa3821713e546..6bca72d57fbaae5ce537f4f47f832586ddbef724 100644 (file)
@@ -1,3 +1,38 @@
+2017-01-10  Tom Tromey  <tom@tromey.com>
+
+       * varobj.c (gdbpy_enter_varobj): New constructor.
+       * python/python-internal.h (gdbpy_enter_varobj): New class.
+       * python/py-varobj.c (py_varobj_get_iterator): Use
+       gdbpy_enter_varobj.
+
+2017-01-10  Tom Tromey  <tom@tromey.com>
+
+       * python/py-xmethods.c (gdbpy_get_xmethod_result_type): Use
+       gdbpy_enter, gdbpy_ref, unique_xmalloc_ptr.
+       (gdbpy_invoke_xmethod): Use gdbpy_ref, gdbpy_enter.
+       (gdbpy_get_xmethod_arg_types): Use gdbpy_ref,
+       unique_xmalloc_ptr.
+       (gdbpy_get_xmethod_arg_types): Use gdbpy_ref, gdbpy_enter.
+
+2017-01-10  Tom Tromey  <tom@tromey.com>
+
+       * python/py-xmethods.c (invoke_match_method): Use
+       gdbpy_ref.
+
+2017-01-10  Tom Tromey  <tom@tromey.com>
+
+       * python/py-xmethods.c (gdbpy_get_matching_xmethod_workers): use
+       gdbpy_enter, gdbpy_ref.
+
+2017-01-10  Tom Tromey  <tom@tromey.com>
+
+       * python/python.c (python_interactive_command): Use gdbpy_enter.
+
+2017-01-10  Tom Tromey  <tom@tromey.com>
+
+       * python/python.c (gdbpy_before_prompt_hook): Use gdbpy_enter,
+       gdbpy_ref.
+
 2017-01-10  Tom Tromey  <tom@tromey.com>
 
        * python/py-prettyprint.c (gdbpy_apply_val_pretty_printer): Use
This page took 0.02448 seconds and 4 git commands to generate.