gdb: factor out debug_prefixed_printf_cond
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index 93529546e3f0d519c689c5b6e124ceea3c554cb1..787ee0d60a6b6f2880d10e85245d2ff9e7ea1015 100644 (file)
@@ -1,3 +1,198 @@
+2020-12-11  Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * 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  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * varobj.c (varobj_create): Update.
+       (install_variable): Return void.
+
+2020-12-11  Tom Tromey  <tom@tromey.com>
+
+       * varobj.c (instantiate_pretty_printer): Use gdbpy_ref.
+
+2020-12-11  Tom Tromey  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * 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) <value>: Now a
+       value_ref_ptr.
+       * python/py-varobj.c (py_varobj_iter::next): Call release_value.
+
+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.
+
+2020-12-11  Tom Tromey  <tom@tromey.com>
+
+       * varobj.c (struct varobj_dynamic) <saved_item>: Now unique_ptr.
+       (varobj_clear_saved_item, update_dynamic_varobj_children):
+       Update.
+
+2020-12-11  Tom Tromey  <tom@tromey.com>
+
+       * varobj.c (update_dynamic_varobj_children): Update.
+       * varobj-iter.h (struct varobj_iter) <next>: Change return type.
+       * python/py-varobj.c (struct py_varobj_iter) <next>: Change return
+       type.
+       (py_varobj_iter::next): Likewise.
+
+2020-12-11  Tom Tromey  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * varobj.c (struct varobj_root) <next>: Remove.
+       (struct vlist): Remove.
+       (rootlist): Now a std::list.
+       (install_variable, uninstall_variable, all_root_varobjs): Update.
+
+2020-12-11  Tom Tromey  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * 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.
+       <bp_location_at>: Now a bp_location_ref_ptr.
+       <refc>: Remove.
+       (bp_location_ref_ptr): New typedef.
+       (struct bp_location_ref_policy): New.
+
+2020-12-11  Tom Tromey  <tom@tromey.com>
+
+       * 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  <tom@tromey.com>
+
+       * infrun.c (struct stop_context) <thread>: Now a thread_info_ref.
+       (stop_context::stop_context): Update.
+       (stop_context::~stop_context): Remove.
+
+2020-12-11  Tom Tromey  <tom@tromey.com>
+
+       * inferior.c (current_inferior_): Change type.
+       (current_inferior, set_current_inferior, initialize_inferiors):
+       Update.
+
+2020-12-11  Tom Tromey  <tom@tromey.com>
+
+       * gdbthread.h (class enable_thread_stack_temporaries) <m_thr>:
+       Change type.
+
+2020-12-11  Tom Tromey  <tromey@adacore.com>
+
+       * ada-tasks.c (struct ada_tasks_pspace_data) <cpu_id_offset>: New
+       field.
+       (ada_get_tcb_types_info): Look for __gnat_gdb_cpu_first_id.
+       (read_atcb): Use cpu_id_offset.
+
+2020-12-10  Kevin Buettner  <kevinb@redhat.com>
+
+       * ada-lang.c (ada_fold_name): Fix off-by-one error.
+
+2020-12-10  Luis Machado  <luis.machado@linaro.org>
+
+       * breakpoint.c (should_be_inserted): Don't output newline.
+
+2020-12-10  Luis Machado  <luis.machado@linaro.org>
+
+       * aarch64-linux-tdep.c (aarch64_linux_restore_vreg) New function.
+       (aarch64_linux_sigframe_init): Call aarch64_linux_restore_vreg.
+       * aarch64-tdep.h (V_REGISTER_SIZE): Move to ...
+       * arch/aarch64.h: ... here.
+       * nat/aarch64-sve-linux-ptrace.c: Include endian.h.
+       (aarch64_maybe_swab128): New function.
+       (aarch64_sve_regs_copy_to_reg_buf)
+       (aarch64_sve_regs_copy_from_reg_buf): Adjust FPSIMD entries.
+       * trad-frame.c (trad_frame_reset_saved_regs): Initialize
+       the data field.
+       (TF_REG_VALUE_BYTES): New enum value.
+       (trad_frame_value_bytes_p): New function.
+       (trad_frame_set_value_bytes): New function.
+       (trad_frame_set_reg_value_bytes): New function.
+       (trad_frame_get_prev_register): Handle register values saved as bytes.
+       * trad-frame.h (trad_frame_set_reg_value_bytes): New prototype.
+       (struct trad_frame_saved_reg) <data>: New field.
+       (trad_frame_set_value_bytes): New prototype.
+       (trad_frame_value_bytes_p): New prototype.
+
 2020-12-07  Mihails Strasuns  <mihails.strasuns@intel.com>
 
        * jit.c (mem_bfd*, bfd_open_from_target_memory): Removed.
This page took 0.027959 seconds and 4 git commands to generate.