Change one more spot to use gdbpy_ref
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 85bb98c8392ce2528111e16567c05c47c8584afb..6b449f0d8346a0fcbd2aeee0ff9da022e8017075 100644 (file)
@@ -1,3 +1,71 @@
+2017-02-10  Tom Tromey  <tom@tromey.com>
+
+       * python/py-prettyprint.c (pretty_print_one_value): Use
+       gdbpy_ref.
+
+2017-02-10  Tom Tromey  <tom@tromey.com>
+
+       * python/py-cmd.c (cmdpy_destroyer): Use gdbpy_ref.
+       * python/py-breakpoint.c (gdbpy_breakpoint_deleted): Use
+       gdbpy_ref.
+       * python/py-type.c (field_new): Use gdbpy_ref.
+       * python/py-symtab.c (symtab_and_line_to_sal_object): Use
+       gdbpy_ref.
+       * python/py-progspace.c (pspy_new): Use gdbpy_ref.
+       (py_free_pspace): Likewise.
+       (pspace_to_pspace_object): Likewise.
+       * python/py-objfile.c (objfpy_new): Use gdbpy_ref.
+       (py_free_objfile): Likewise.
+       (objfile_to_objfile_object): Likewise.
+       * python/py-inferior.c (delete_thread_object): Use
+       gdbpy_ref.
+       (infpy_read_memory): Likewise.
+       (py_free_inferior): Likewise.
+       * python/py-evtregistry.c (create_eventregistry_object): Use
+       gdbpy_ref.
+       * python/py-event.c (create_event_object): Use gdbpy_ref.
+
+2017-02-10  Tom Tromey  <tom@tromey.com>
+
+       * python/py-ref.h (gdbpy_ref_policy): Now a template.
+       (gdbpy_ref): Now a template; allow subclasses of PyObject to be
+       used.
+       * python/py-arch.c, python/py-bpevent.c, python/py-breakpoint.c,
+       python/py-cmd.c, python/py-continueevent.c, python/py-event.c,
+       python/py-exitedevent.c, python/py-finishbreakpoint.c,
+       python/py-framefilter.c, python/py-function.c,
+       python/py-inferior.c, python/py-infevents.c,
+       python/py-linetable.c, python/py-newobjfileevent.c,
+       python/py-param.c, python/py-prettyprint.c, python/py-ref.h,
+       python/py-signalevent.c, python/py-stopevent.c,
+       python/py-symbol.c, python/py-threadevent.c, python/py-type.c,
+       python/py-unwind.c, python/py-utils.c, python/py-value.c,
+       python/py-varobj.c, python/py-xmethods.c, python/python.c,
+       varobj.c: Change gdbpy_ref to gdbpy_ref<>.
+
+2017-02-10  Tom Tromey  <tom@tromey.com>
+
+       * ui-out.h (ui_out_emit_type): New class.
+       (ui_out_emit_tuple, ui_out_emit_list): New typedefs.
+       * python/py-framefilter.c (py_print_single_arg): Use gdb::optional
+       and ui_out_emit_tuple.
+       (enumerate_locals): Likewise.
+       (py_mi_print_variables, py_print_locals, py_print_args): Use
+       ui_out_emit_list.
+       (py_print_frame): Use gdb::optional, ui_out_emit_tuple,
+       ui_out_emit_list.
+       * common/gdb_optional.h: New file.
+
+2017-02-10  Martin Galvan  <martingalvan@sourceware.org>
+
+       * MAINTAINERS (Write After Approval): Update my e-mail address.
+
+2017-02-10  Martin Galvan  <martingalvan@sourceware.org>
+
+       PR gdb/21122
+       * breakpoint.c (_initialize_breakpoint): Update the help description
+       of the 'commands' command to indicate that it takes a list argument.
+
 2017-02-09  Simon Marchi  <simon.marchi@ericsson.com>
 
        * interps.c (current_interp_set_logging): Remove "return".
This page took 0.025586 seconds and 4 git commands to generate.