[gdbarch] New method "execute_dwarf_cfa_vendor_op" and migrate SPARC to it
[deliverable/binutils-gdb.git] / gdb / ChangeLog
index b6576853df2784cef8ce8a6bc4ceec201de92988..6cde27438eb1ed7f342a97e5b10ce6716246cbc9 100644 (file)
@@ -1,3 +1,184 @@
+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.
+       * mi/mi-cmd-var.c (varobj_update_one): Use ui_out_emit_tuple.
+       * mi/mi-cmd-stack.c (list_arg_or_local): Use ui_out_emit_tuple.
+
+2017-04-22  Tom Tromey  <tom@tromey.com>
+
+       * tracepoint.c (tvariables_info_1)
+       (print_one_static_tracepoint_marker): Use ui_out_emit_tuple.
+
+2017-04-22  Tom Tromey  <tom@tromey.com>
+
+       * stack.c (print_frame_arg): Use ui_out_emit_tuple,
+       annotate_arg_emitter.
+       * breakpoint.c (print_mention_watchpoint)
+       (print_mention_masked_watchpoint): Use ui_out_emit_tuple.
+       * annotate.h (struct annotate_arg_emitter): New.
+
+2017-04-22  Tom Tromey  <tom@tromey.com>
+
+       * record-btrace.c (record_btrace_insn_history)
+       (record_btrace_insn_history_range, record_btrace_call_history)
+       (record_btrace_call_history_range): Use ui_out_emit_tuple.
+       * thread.c (do_captured_list_thread_ids, print_thread_info_1): Use
+       ui_out_emit_tuple.
+       * stack.c (print_frame_info): Use ui_out_emit_tuple.
+       * solib.c (info_sharedlibrary_command): Use ui_out_emit_tuple.
+       * skip.c (skip_info): Use ui_out_emit_tuple.
+       * remote.c (show_remote_cmd): Use ui_out_emit_tuple.
+       * progspace.c (print_program_space): Use ui_out_emit_tuple.
+       * probe.c (info_probes_for_ops): Use ui_out_emit_tuple.
+       * osdata.c (info_osdata): Use ui_out_emit_tuple.
+       * mi/mi-symbol-cmds.c (mi_cmd_symbol_list_lines): Use
+       ui_out_emit_tuple.
+       * mi/mi-main.c (print_one_inferior, list_available_thread_groups)
+       (output_register, mi_cmd_data_read_memory)
+       (mi_cmd_data_read_memory_bytes, mi_load_progress)
+       (mi_cmd_trace_frame_collected): Use ui_out_emit_tuple.
+       * mi/mi-cmd-var.c (mi_cmd_var_list_children, varobj_update_one):
+       Use ui_out_emit_tuple.
+       * mi/mi-cmd-stack.c (mi_cmd_stack_list_args): Use
+       ui_out_emit_tuple.
+       * mi/mi-cmd-info.c (mi_cmd_info_ada_exceptions)
+       (mi_cmd_info_gdb_mi_command): Use ui_out_emit_tuple.
+       * linux-thread-db.c (info_auto_load_libthread_db): Use
+       ui_out_emit_tuple.
+       * inferior.c (print_inferior): Use ui_out_emit_tuple.
+       * gdb_bfd.c (print_one_bfd): Use ui_out_emit_tuple.
+       * disasm.c (do_mixed_source_and_assembly_deprecated)
+       (do_mixed_source_and_assembly): Use ui_out_emit_tuple.
+       * cp-abi.c (list_cp_abis): Use ui_out_emit_tuple.
+       * cli/cli-setshow.c (cmd_show_list): Use ui_out_emit_tuple.
+       * breakpoint.c (print_one_breakpoint_location)
+       (print_one_breakpoint): Use ui_out_emit_tuple.
+       * auto-load.c (print_script, info_auto_load_cmd): Use
+       ui_out_emit_tuple.
+       * ada-tasks.c (print_ada_task_info): Use ui_out_emit_tuple.
+
+2017-04-21  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * thread.c (print_thread_info_1): Remove dead code.
+
 2017-04-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * aarch64-tdep.c (selftests::aarch64_process_record_test): Make it #if
This page took 0.029495 seconds and 4 git commands to generate.