X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2FChangeLog;h=787ee0d60a6b6f2880d10e85245d2ff9e7ea1015;hb=74b773fcd658c52554a6af07c657f677c52f8102;hp=4533a6a7b8b9f215d25cdd07f0ea345848fc443c;hpb=a9f14fa5499a9f8d089c188f72c154de731551a0;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4533a6a7b8..787ee0d60a 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,161 @@ +2020-12-11 Simon Marchi + + * displaced-stepping.h (displaced_debug_printf): Use + debug_prefixed_printf_cond. + * dwarf2/read.c (dwarf_read_debug_printf): Likewise. + (dwarf_read_debug_printf_v): Likewise. + * infrun.h (infrun_debug_printf): Likewise. + * linux-nat.c (linux_nat_debug_printf): Likewise. + +2020-12-11 Tom Tromey + + * p-exp.y (intvar): Remove global. + (DOLLAR_VARIABLE): Change type. + (start): Update. + (exp): Call write_dollar_variable here... + (yylex): ... not here. + * m2-exp.y (DOLLAR_VARIABLE): Change type. + (variable): Call write_dollar_variable here... + (yylex): ... not here. + * f-exp.y (DOLLAR_VARIABLE): Change type. + (exp): Call write_dollar_variable here... + (yylex): ... not here. + +2020-12-11 Tom Tromey + + * varobj.c (varobj_create): Update. + (install_variable): Return void. + +2020-12-11 Tom Tromey + + * varobj.c (instantiate_pretty_printer): Use gdbpy_ref. + +2020-12-11 Tom Tromey + + * varobj.c (varobj_clear_saved_item): Remove. + (update_dynamic_varobj_children): Update. + (varobj::~varobj): Don't call varobj_clear_saved_item. + +2020-12-11 Tom Tromey + + * varobj.c (install_dynamic_child, varobj_clear_saved_item) + (update_dynamic_varobj_children, create_child) + (create_child_with_value): Update. + * varobj-iter.h (struct varobj_item) : Now a + value_ref_ptr. + * python/py-varobj.c (py_varobj_iter::next): Call release_value. + +2020-12-11 Tom Tromey + + * varobj.c (struct varobj_dynamic) : 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. + +2020-12-11 Tom Tromey + + * varobj.c (struct varobj_dynamic) : Now unique_ptr. + (varobj_clear_saved_item, update_dynamic_varobj_children): + Update. + +2020-12-11 Tom Tromey + + * varobj.c (update_dynamic_varobj_children): Update. + * varobj-iter.h (struct varobj_iter) : Change return type. + * python/py-varobj.c (struct py_varobj_iter) : Change return + type. + (py_varobj_iter::next): Likewise. + +2020-12-11 Tom Tromey + + * varobj.c (update_dynamic_varobj_children, install_visualizer) + (varobj::~varobj): Update. + * varobj-iter.h (struct varobj_iter): Change to interface class. + (struct varobj_iter_ops): Remove. + (varobj_iter_next, varobj_iter_delete): Remove. + * python/py-varobj.c (struct py_varobj_iter): Derive from + varobj_iter. Add constructor, destructor. Rename members. + (py_varobj_iter::~py_varobj_iter): Rename from + py_varobj_iter_dtor. + (py_varobj_iter::next): Rename from py_varobj_iter_next. + (py_varobj_iter_ops): Remove. + (py_varobj_iter): Rename from py_varobj_iter_ctor. + (py_varobj_iter_new): Remove. + (py_varobj_get_iterator): Update. + +2020-12-11 Tom Tromey + + * varobj.h (all_root_varobjs): Take a function_view. + * varobj.c (all_root_varobjs): Take a function_view. + (varobj_invalidate_iter): Remove unused parameter. + (varobj_invalidate): Update. + * mi/mi-cmd-var.c (struct mi_cmd_var_update): Remove. + (mi_cmd_var_update_iter): Change parameters. + +2020-12-11 Tom Tromey + + * varobj.c (struct varobj_root) : Remove. + (struct vlist): Remove. + (rootlist): Now a std::list. + (install_variable, uninstall_variable, all_root_varobjs): Update. + +2020-12-11 Tom Tromey + + * varobj.c (VAROBJ_TABLE_SIZE): Remove. + (varobj_table): Now htab_t. + (varobj_get_handle, install_variable, uninstall_variable): + Update. + (hash_varobj, eq_varobj_and_string): New functions. + (hash_varobj): Update. + +2020-12-11 Tom Tromey + + * inline-frame.c (stopped_by_user_bp_inline_frame): Update. + * ada-lang.c (check_status_exception): Update. + * breakpoint.c (free_bp_location): Remove. + (decref_bp_location): Use bp_location_ref_policy. + (bpstats::bpstats): Don't call incref_bp_location. + (bpstats::~bpstats): Remove. + (bpstats::bpstats): Update. + (bpstat_check_watchpoint, bpstat_check_breakpoint_conditions) + (bp_location::bp_location): Update. + (incref_bp_location): Remove. + (bkpt_print_it): Update. + * breakpoint.h (class bp_location): Derive from + refcounted_object. + (struct bpstats): Remove destructor. + : Now a bp_location_ref_ptr. + : Remove. + (bp_location_ref_ptr): New typedef. + (struct bp_location_ref_policy): New. + +2020-12-11 Tom Tromey + + * thread.c (class scoped_inc_dec_ref): Remove. + (tp_array_compar_ascending, tp_array_compar_descending): Change + parameter types. + (thread_apply_all_command): Use thread_info_ref. + +2020-12-11 Tom Tromey + + * infrun.c (struct stop_context) : Now a thread_info_ref. + (stop_context::stop_context): Update. + (stop_context::~stop_context): Remove. + +2020-12-11 Tom Tromey + + * inferior.c (current_inferior_): Change type. + (current_inferior, set_current_inferior, initialize_inferiors): + Update. + +2020-12-11 Tom Tromey + + * gdbthread.h (class enable_thread_stack_temporaries) : + Change type. + 2020-12-11 Tom Tromey * ada-tasks.c (struct ada_tasks_pspace_data) : New