[gdbarch] New method "execute_dwarf_cfa_vendor_op" and migrate SPARC to it
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index fb066d04c78bb562c8f5dda99b6470d0624ed77c..6cde27438eb1ed7f342a97e5b10ce6716246cbc9 100644 (file)
@@ -1,3 +1,121 @@
+2017-04-26  Jiong Wang  <jiong.wang@arm.com>
+
+       * gdbarch.sh: New gdbarch method execute_dwarf_cfa_vendor_op.
+       * gdbarch.c: Regenerated.
+       * gdbarch.h: Regenerated.
+       * dwarf2-frame.c (dwarf2_frame_state_alloc_regs): Made the
+       visibility external.
+       (execute_cfa_program): Call execute_dwarf_cfa_vendor_op for CFI
+       between DW_CFA_lo_user and DW_CFA_high_user inclusive.
+       (enum cfa_how_kind): Move to ...
+       (struct dwarf2_frame_state_reg_info): Likewise.
+       (struct dwarf2_frame_state): Likewise.
+       * dwarf2-frame.h: ... here.
+       (dwarf2_frame_state_alloc_regs): New declaration.
+       * sparc-tdep.c (sparc_execute_dwarf_cfa_vendor_op): New function.
+       (sparc32_gdbarch_init): Register execute_dwarf_cfa_vendor_op hook.
+
+2017-04-26  Alan Hayward  <alan.hayward@arm.com>
+
+       * xtensa-tdep.c (xtensa_pseudo_register_read): Use
+       regcache_raw_read_unsigned.
+       (xtensa_pseudo_register_write): Likewise.
+
+2017-04-26  Alan Hayward  <alan.hayward@arm.com>
+
+       * nds32-tdep.c (nds32_pseudo_register_read): Abort on errors.
+       (nds32_pseudo_register_write): Likewise.
+
+2017-04-25  Yao Qi  <yao.qi@linaro.org>
+
+       * regcache.c (struct regcache) <readonly_p>: Change its type
+       to bool.
+       (regcache_xmalloc_1): Update parameter type and callers update.
+
+2017-04-25  Yao Qi  <yao.qi@linaro.org>
+
+       * aarch64-tdep.c (aarch64_gdbarch_init): Don't call
+       set_gdbarch_wchar_bit.
+       * arm-tdep.c (arm_gdbarch_init): Likewise.
+
+2017-04-25  Pedro Alves  <palves@redhat.com>
+
+       * common/poison.h [!HAVE_IS_TRIVIALLY_COPYABLE] (IsRelocatable)
+       (BothAreRelocatable, memcopy, memmove): Don't define.
+       * common/traits.h (__has_feature, HAVE_IS_TRIVIALLY_COPYABLE): New
+       macros.
+
+2017-04-25  Pedro Alves  <palves@redhat.com>
+
+       * common/common-defs.h: Include "common/poison.h".
+       * common/function-view.h: (Not, Or, Requires): Move to traits.h
+       and adjust.
+       * common/poison.h: New file.
+       * common/traits.h: Include <type_traits>.
+       (Not, Or, Requires): New, moved from common/function-view.h.
+
+2017-04-25  Pedro Alves  <palves@redhat.com>
+
+       * breakpoint.h (struct breakpoint): In-class initialize all
+       fields.  Make boolean fields "bool".
+       * breakpoint.c (init_raw_breakpoint_without_location): Remove
+       memset call and initializations no longer necessary.
+
+2017-04-25  Pedro Alves  <palves@redhat.com>
+
+       * btrace.c (pt_btrace_insn_flags): Change parameter type to
+       reference.
+       (pt_btrace_insn): New function.
+       (ftrace_add_pt): Remove memset call and use pt_btrace_insn.
+
+2017-04-25  Pedro Alves  <palves@redhat.com>
+
+       * ada-lang.c (ada_catchpoint_location): Now a "class".  Remove
+       "base" field and inherit from "bp_location" instead.  Add
+       non-default ctor.
+       (allocate_location_exception): Use new non-default ctor.
+       * breakpoint.c (get_first_locp_gte_addr): Remove memset call.
+       (init_bp_location): Convert to ...
+       (bp_location::bp_location): ... this new ctor, and remove memset
+       call.
+       (base_breakpoint_allocate_location): Use the new non-default ctor.
+       * breakpoint.h (bp_location): Now a class.  Declare default and
+       non-default ctors.  In-class initialize all members.
+       (init_bp_location): Remove declaration.
+
+2017-04-25  Pedro Alves  <palves@redhat.com>
+
+       * common/enum-flags.h (enum_flags): Don't implement copy ctor and
+       assignment operator.
+
+2017-04-24  Yao Qi  <yao.qi@linaro.org>
+
+       * doublest.c (convert_doublest_to_floatformat): Call
+       floatformat_totalsize_bytes.
+
+2017-04-22  Tom Tromey  <tom@tromey.com>
+
+       * mi/mi-cmd-file.c (mi_cmd_file_list_shared_libraries): Use
+       ui_out_emit_list.
+       * stack.c (print_frame): Use ui_out_emit_list.
+       * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Use
+       ui_out_emit_list.
+       * mi/mi-main.c (print_one_inferior)
+       (mi_cmd_data_list_register_names)
+       (mi_cmd_data_list_register_values, mi_cmd_list_features)
+       (mi_cmd_list_target_features, mi_cmd_trace_frame_collected): Use
+       ui_out_emit_list.
+       * mi/mi-interp.c (mi_on_normal_stop_1): Use ui_out_emit_list.
+       (mi_output_solib_attribs): Use ui_out_emit_list,
+       ui_out_emit_tuple.
+       * mi/mi-cmd-var.c (varobj_update_one): Use ui_out_emit_list.
+       * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames)
+       (mi_cmd_stack_list_args, list_args_or_locals): Use
+       ui_out_emit_list.
+       * disasm.c (do_assembly_only): Use ui_out_emit_list.
+       * breakpoint.c (print_solib_event, output_thread_groups): Use
+       ui_out_emit_list.
+
 2017-04-22  Tom Tromey  <tom@tromey.com>
 
        * mi/mi-main.c (print_variable_or_computed): Use ui_out_emit_tuple.
This page took 0.029797 seconds and 4 git commands to generate.