opcodes: Fix date in ChangeLog entry
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index 8c1677de8215c7a0cbf868d6c633d3f02729321e..644a81088fe62821eaecaf5a57d501dbe7d12f44 100644 (file)
@@ -1,3 +1,410 @@
+2016-03-30  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * linux-aarch64-ipa.c: Rename gdb_agent_get_raw_reg to get_raw_reg.
+       * linux-amd64-ipa.c: Likewise.
+       * linux-i386-ipa.c: Likewise.
+       * linux-s390-ipa.c: Likewise.
+       * tracepoint.c: IPA-export gdb_collect_ptr instead of gdb_collect,
+       ditto for get_raw_reg_ptr, get_trace_state_variable_value_ptr,
+       set_trace_state_variable_value_ptr.
+       (struct ipa_sym_addresses): Likewise.
+       (symbol_list): Likewise.
+       (install_fast_tracepoint): Dereference gdb_collect_ptr instead of
+       accessing gdb_collect directly.
+       (gdb_collect_ptr_type): New typedef.
+       (get_raw_reg_ptr_type): New typedef.
+       (get_trace_state_variable_value_ptr_type): New typedef.
+       (set_trace_state_variable_value_ptr_type): New typedef.
+       (gdb_collect_ptr): New global.
+       (get_raw_reg_ptr): New global.
+       (get_trace_state_variable_value_ptr): New global.
+       (set_trace_state_variable_value_ptr): New global.
+       (get_raw_reg_func_addr): Dereference get_raw_reg_ptr instead of
+       accessing get_raw_reg directly.
+       (get_get_tsv_func_addr): Likewise for
+       get_trace_state_variable_value_ptr.
+       (get_set_tsv_func_addr): Likewise for
+       set_trace_state_variable_value_ptr.
+       * tracepoint.h: Rename gdb_agent_get_raw_reg to get_raw_reg.
+
+2016-03-30  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * tracepoint.c (cmd_qtenable_disable): Remove whitespace.
+
+2016-03-30  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * remote-utils.c (look_up_one_symbol): Remove own_buf, handle 'v'
+       packets.
+       (relocate_instruction): Remove own_buf.
+       * server.c (own_buf): Make global.
+       (handle_v_requests): Make global.
+       * server.h (own_buf): New declaration.
+       (handle_v_requests): New prototype.
+
+2016-03-29  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       PR 18377
+       * linux-s390-low.c (add_insns): New function.
+       (s390_emit_prologue): New function.
+       (s390_emit_epilogue): New function.
+       (s390_emit_add): New function.
+       (s390_emit_sub): New function.
+       (s390_emit_mul): New function.
+       (s390_emit_lsh): New function.
+       (s390_emit_rsh_signed): New function.
+       (s390_emit_rsh_unsigned): New function.
+       (s390_emit_ext): New function.
+       (s390_emit_log_not): New function.
+       (s390_emit_bit_and): New function.
+       (s390_emit_bit_or): New function.
+       (s390_emit_bit_xor): New function.
+       (s390_emit_bit_not): New function.
+       (s390_emit_equal): New function.
+       (s390_emit_less_signed): New function.
+       (s390_emit_less_unsigned): New function.
+       (s390_emit_ref): New function.
+       (s390_emit_if_goto): New function.
+       (s390_emit_goto): New function.
+       (s390_write_goto_address): New function.
+       (s390_emit_litpool): New function.
+       (s390_emit_const): New function.
+       (s390_emit_call): New function.
+       (s390_emit_reg): New function.
+       (s390_emit_pop): New function.
+       (s390_emit_stack_flush): New function.
+       (s390_emit_zero_ext): New function.
+       (s390_emit_swap): New function.
+       (s390_emit_stack_adjust): New function.
+       (s390_emit_set_r2): New function.
+       (s390_emit_int_call_1): New function.
+       (s390_emit_void_call_2): New function.
+       (s390_emit_eq_goto): New function.
+       (s390_emit_ne_goto): New function.
+       (s390_emit_lt_goto): New function.
+       (s390_emit_le_goto): New function.
+       (s390_emit_gt_goto): New function.
+       (s390_emit_ge_goto): New function.
+       (s390x_emit_prologue): New function.
+       (s390x_emit_epilogue): New function.
+       (s390x_emit_add): New function.
+       (s390x_emit_sub): New function.
+       (s390x_emit_mul): New function.
+       (s390x_emit_lsh): New function.
+       (s390x_emit_rsh_signed): New function.
+       (s390x_emit_rsh_unsigned): New function.
+       (s390x_emit_ext): New function.
+       (s390x_emit_log_not): New function.
+       (s390x_emit_bit_and): New function.
+       (s390x_emit_bit_or): New function.
+       (s390x_emit_bit_xor): New function.
+       (s390x_emit_bit_not): New function.
+       (s390x_emit_equal): New function.
+       (s390x_emit_less_signed): New function.
+       (s390x_emit_less_unsigned): New function.
+       (s390x_emit_ref): New function.
+       (s390x_emit_if_goto): New function.
+       (s390x_emit_const): New function.
+       (s390x_emit_call): New function.
+       (s390x_emit_reg): New function.
+       (s390x_emit_pop): New function.
+       (s390x_emit_stack_flush): New function.
+       (s390x_emit_zero_ext): New function.
+       (s390x_emit_swap): New function.
+       (s390x_emit_stack_adjust): New function.
+       (s390x_emit_int_call_1): New function.
+       (s390x_emit_void_call_2): New function.
+       (s390x_emit_eq_goto): New function.
+       (s390x_emit_ne_goto): New function.
+       (s390x_emit_lt_goto): New function.
+       (s390x_emit_le_goto): New function.
+       (s390x_emit_gt_goto): New function.
+       (s390x_emit_ge_goto): New function.
+       (s390_emit_ops): New function.
+       (struct linux_target_ops): Fill in emit_ops hook.
+
+2016-03-29  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       PR 18377
+       * Makefile.in: Add s390 IPA files.
+       * configure.srv: Build IPA for s390.
+       * linux-s390-ipa.c: New file.
+       * linux-s390-low.c: New includes - inttypes.h and linux-s390-tdesc.h.
+       (init_registers_s390_linux32): Move declaration to linux-s390-tdesc.h.
+       (tdesc_s390_linux32): Likewise.
+       (init_registers_s390_linux32v1): Likewise.
+       (tdesc_s390_linux32v1): Likewise.
+       (init_registers_s390_linux32v2): Likewise.
+       (tdesc_s390_linux32v2): Likewise.
+       (init_registers_s390_linux64): Likewise.
+       (tdesc_s390_linux64): Likewise.
+       (init_registers_s390_linux64v1): Likewise.
+       (tdesc_s390_linux64v1): Likewise.
+       (init_registers_s390_linux64v2): Likewise.
+       (tdesc_s390_linux64v2): Likewise.
+       (init_registers_s390_te_linux64): Likewise.
+       (tdesc_s390_te_linux64): Likewise.
+       (init_registers_s390_vx_linux64): Likewise.
+       (tdesc_s390_vx_linux64): Likewise.
+       (init_registers_s390_tevx_linux64): Likewise.
+       (tdesc_s390_tevx_linux64): Likewise.
+       (init_registers_s390x_linux64): Likewise.
+       (tdesc_s390x_linux64): Likewise.
+       (init_registers_s390x_linux64v1): Likewise.
+       (tdesc_s390x_linux64v1): Likewise.
+       (init_registers_s390x_linux64v2): Likewise.
+       (tdesc_s390x_linux64v2): Likewise.
+       (init_registers_s390x_te_linux64): Likewise.
+       (tdesc_s390x_te_linux64): Likewise.
+       (init_registers_s390x_vx_linux64): Likewise.
+       (tdesc_s390x_vx_linux64): Likewise.
+       (init_registers_s390x_tevx_linux64): Likewise.
+       (tdesc_s390x_tevx_linux64): Likewise.
+       (have_hwcap_s390_vx): New static variable.
+       (s390_arch_setup): Fill have_hwcap_s390_vx.
+       (s390_get_thread_area): New function.
+       (s390_ft_entry_gpr_esa): New const.
+       (s390_ft_entry_gpr_zarch): New const.
+       (s390_ft_entry_misc): New const.
+       (s390_ft_entry_fr): New const.
+       (s390_ft_entry_vr): New const.
+       (s390_ft_main_31): New const.
+       (s390_ft_main_64): New const.
+       (s390_ft_exit_fr): New const.
+       (s390_ft_exit_vr): New const.
+       (s390_ft_exit_misc): New const.
+       (s390_ft_exit_gpr_esa): New const.
+       (s390_ft_exit_gpr_zarch): New const.
+       (append_insns): New function.
+       (s390_relocate_instruction): New function.
+       (s390_install_fast_tracepoint_jump_pad): New function.
+       (s390_get_min_fast_tracepoint_insn_len): New function.
+       (s390_get_ipa_tdesc_idx): New function.
+       (struct linux_target_ops): Wire in the above functions.
+       (initialize_low_arch) [!__s390x__]: Don't initialize s390x tdescs.
+       * linux-s390-tdesc.h: New file.
+
+2016-03-29  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * linux-s390-low.c (s390_supports_tracepoints): New function.
+       (struct linux_target_ops): Fill supports_tracepoints hook.
+
+2016-03-18  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-low.c (lwp_signal_can_be_delivered): New function.
+       (linux_resume_one_lwp_throw): Use lwp_signal_can_be_delivered.
+
+2016-03-18  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-low.c (linux_resume_one_lwp_throw): Set 'signal' to
+       0 if signal is enqueued.  Remove 'signal' from one debugging
+       message.  Move one debugging message to some lines below.
+       Remove code setting 'signal' to 0.
+
+2016-03-18  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-low.c (linux_low_filter_event): Remove redundant
+       WIFSTOPPED check together with linux_wstatus_maybe_breakpoint.
+
+2016-03-09  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * linux-ppc-low.c (ppc_supports_tracepoints): New function.
+       (struct linux_target_ops): Wire in the above.
+
+2016-03-03  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-low.c: Update comments to start_step_over.
+
+2016-03-03  Yao Qi  <yao.qi@linaro.org>
+
+       PR server/19736
+       * linux-low.c (handle_extended_wait): Set child suspended
+       if event_lwp->bp_reinsert isn't zero.
+
+2016-03-02  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-low.c (linux_resume_one_lwp_throw): Replace code with
+       enqueue_pending_signal.
+
+2016-03-02  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * tracepoint.c (cmd_qtstart): Only set ipa_tdesc_idx if agent
+       is actually loaded.
+
+2016-02-25  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * linux-s390-low.c (s390_num_regs_3264): Define on 31-bit too.
+       (s390_regmap_3264) [!__s390x__]: New global.
+       (s390_collect_ptrace_register): Skip map entries containing -1.
+       (s390_supply_ptrace_register): Ditto.
+       (s390_fill_gprs_high): New function.
+       (s390_store_gprs_high): New function.
+       (s390_regsets): Add NT_S390_HIGH_GPRS.
+       (s390_get_hwcap): Enable on 31-bit.
+       (have_hwcap_s390_high_gprs): Enable on 31-bit.
+       (s390_arch_setup): Enable detection of high GPRs, TDB, VX on 31-bit.
+       Detect NT_S390_HIGH_GPRS.
+       (s390_usrregs_info_3264): Enable on 31-bit.
+       (s390_regs_info): Enable regs_info_3264 on 31-bit.
+       (initialize_low_arch): Initialize s390_regsets_info_3264 on 31-bit.
+
+2016-02-25  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       PR gdb/13808
+       * Makefile.in: Add i386-*-linux-ipa.o and amd64-*-linux-ipa.o.
+       * configure.srv: Ditto.
+       * linux-aarch64-ipa.c (get_ipa_tdesc): New function.
+       (initialize_low_tracepoint): Remove ipa_tdesc assignment.
+       * linux-amd64-ipa.c: Add "linux-x86-tdesc.h" include.
+       (init_registers_amd64_linux): Remove prototype.
+       (tdesc_amd64_linux): Remove declaration.
+       (get_ipa_tdesc): New function.
+       (initialize_low_tracepoint): Remove ipa_tdesc assignment,
+       initialize remaining tdescs.
+       * linux-i386-ipa.c: Add "linux-x86-tdesc.h" include.
+       (init_registers_i386_linux): Remove prototype.
+       (tdesc_i386_linux): Remove declaration.
+       (get_ipa_tdesc): New function.
+       (initialize_low_tracepoint): Remove ipa_tdesc assignment,
+       initialize remaining tdescs.
+       * linux-low.c (linux_get_ipa_tdesc_idx): New function.
+       (linux_target_ops): wire in linux_get_ipa_tdesc_idx.
+       * linux-low.h (struct linux_target_ops): Add get_ipa_tdesc_idx.
+       * linux-x86-low.c: Move tdesc declarations to linux-x86-tdesc.h.
+       (x86_get_ipa_tdesc_idx): New function.
+       (the_low_target): Wire in x86_get_ipa_tdesc_idx.
+       * linux-x86-tdesc.h: New file.
+       * target.h (struct target_ops): Add get_ipa_tdesc_idx.
+       (target_get_ipa_tdesc_idx): New macro.
+       * tracepoint.c (ipa_tdesc_idx): New macro.
+       (struct ipa_sym_addresses): Add addr_ipa_tdesc_idx.
+       (symbol_list): Add ipa_tdesc_idx.
+       (cmd_qtstart): Write ipa_tdesc_idx in the target.
+       (ipa_tdesc): Remove.
+       (ipa_tdesc_idx): New variable.
+       (get_context_regcache): Use get_ipa_tdesc.
+       (gdb_collect): Ditto.
+       (gdb_probe): Ditto.
+       * tracepoint.h (get_ipa_tdesc): New prototype.
+       (ipa_tdesc): Remove.
+
+2016-02-24  Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (check_stopped_by_breakpoint): Rename to ...
+       (save_stop_reason): ... this.  Use GDB_ARCH_IS_TRAP_HWBKPT and
+       handle ambiguous GDB_ARCH_IS_TRAP_BRKPT / GDB_ARCH_IS_TRAP_HWBKPT.
+       Factor out common code between the USE_SIGTRAP_SIGINFO and
+       !USE_SIGTRAP_SIGINFO blocks.
+       (linux_low_filter_event): Call save_stop_reason instead of
+       check_stopped_by_breakpoint and check_stopped_by_watchpoint.
+       Update comments.
+       (linux_wait_1): Update comments.
+
+2016-02-24  Wei-cheng Wang  <cole945@gmail.com>
+
+       * linux-ppc-low.c (ppc_supports_z_point_type): New function:
+       (ppc_insert_point, ppc_remove_point): Insert/remove z-packet breakpoints.
+       (ppc64_emit_ops_vector): Add target ops - ppc_supports_z_point_type,
+       ppc_insert_point, ppc_remove_point.
+
+2016-02-17  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * linux-s390-low.c (s390_supports_z_point_type): New function.
+       (struct linux_target_ops): Wire s390_supports_z_point_type in.
+
+2016-02-16  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-arm-low.c (get_next_pcs_syscall_next_pc): Remove argument
+       PC.  Get pc from regcache_read_pc.
+
+2016-02-12  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-aarch64-low.c (aarch64_get_pc): Call linux_get_pc_64bit
+       or linux_get_pc_32bit.
+       (aarch64_set_pc): Call linux_set_pc_64bit or linux_set_pc_32bit.
+
+2016-02-12  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-arm-low.c (get_next_pcs_ops): Initialize it with
+       arm_linux_get_next_pcs_fixup.
+
+2016-02-12  Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * tracepoint.c (x_tracepoint_action_download): Change
+       write_inferior_data_ptr to write_inferior_data_pointer.
+       (cmd_qtstart): Likewise.
+       (write_inferior_data_ptr): Remove.
+       (download_agent_expr): Change write_inferior_data_ptr to
+       write_inferior_data_pointer.
+       (download_tracepoint_1): Likewise.
+       (download_tracepoint): Likewise.
+       (download_trace_state_variables): Likewise.
+
+2016-02-11  Wei-cheng Wang  <cole945@gmail.com>
+           Marcin Kościelnicki  <koriakin@0x04.net>
+
+       * tracepoint.c (struct tracepoint_action_ops): Remove.
+       (struct tracepoint_action): Remove ops.
+       (m_tracepoint_action_download, r_tracepoint_action_download)
+       (x_tracepoint_action_download, l_tracepoint_action_download): Adjust
+       size and offset accordingly.
+       (m_tracepoint_action_ops, r_tracepoint_action_ops)
+       (x_tracepoint_action_ops, l_tracepoint_action_ops): Remove.
+       (tracepoint_action_send, tracepoint_action_download): New functions.
+       Helpers for trace action handlers.
+       (add_tracepoint_action): Remove setup actions ops.
+       (download_tracepoint_1, tracepoint_send_agent): Call helper functions.
+
+2016-02-10  Yao Qi  <yao.qi@linaro.org>
+
+       * regcache.c (regcache_raw_read_unsigned): Clear *VAL.
+
+2016-02-09  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
+       to AC_OUTPUT.
+       * configure: Regenerate.
+
+2016-02-09  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * linux-aarch64-low.c (aarch64_linux_siginfo_fixup): Change
+       void * to gdb_byte *.
+       * linux-low.c (siginfo_fixup): Likewise.
+       (linux_xfer_siginfo): Likewise.
+       * linux-low.h (struct linux_target_ops) <siginfo_fixup>:
+       Likewise.
+       * linux-x86-low.c (x86_siginfo_fixup): Likewise.
+
+2016-02-02  Walfred Tedeschi  <walfred.tedeschi@intel.com>
+
+       * configure.srv (x86_64-*-linux*): Add amd64-linux-siginfo.o
+       to srv_tgtobj.
+       (i[34567]86-*-linux*): Add amd64-linux-siginfo.o
+       to srv_tgtobj.
+       * linux-x86-low.c [__x86_64__]: Include
+       "nat/amd64-linux-siginfo.h".
+       (compat_siginfo_from_siginfo, siginfo_from_compat_siginfo)
+       (compat_x32_siginfo_from_siginfo, siginfo_from_compat_x32_siginfo)
+       (compat_timeval, compat_sigval, compat_x32_clock, cpt_si_pid)
+       (cpt_si_uid, cpt_si_timerid, cpt_si_overrun, cpt_si_status)
+       (cpt_si_utime, cpt_si_stime, cpt_si_ptr, cpt_si_addr, cpt_si_band)
+       (cpt_si_fd, si_timerid, si_overrun): Move from
+       nat/amd64-linux-siginfo.c.
+       * Makefile.in (amd64-linux-siginfo.o:): New rule.
+
+2016-01-28  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * server.c (skip_to_semicolon):  Remove.
+       (process_point_options): Use strchrnul instead of
+       skip_to_semicolon.
+
+2016-01-26  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-arm-low.c (arm_gdbserver_get_next_pcs): Remove argument pc.
+       * linux-low.c (install_software_single_step_breakpoints): Don't
+       call regcache_read_pc.
+       * linux-low.h (struct linux_target_ops) <get_next_pcs>: Remove
+       argument pc.
+
 2016-01-26  Yao Qi  <yao.qi@linaro.org>
 
        * linux-low.c (install_software_single_step_breakpoints): Call
This page took 0.034493 seconds and 4 git commands to generate.