Fix gdb.threads/non-ldr-exc-3.exp race
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index 2a7dc0b2ebe47024f7c9c89fd686f0870685f073..fac52efe9aa062cb19d1d25ddab298772c56a77c 100644 (file)
@@ -1,3 +1,184 @@
+2015-09-15  Yao Qi  <yao.qi@linaro.org>
+
+       * server.c (vCont_supported): New global variable.
+       (handle_query): Set vCont_supported to 1 if "vContSupported+"
+       matches.  Append ";vContSupported+" to own_buf.
+       (handle_v_requests): Append ";s;S" to own_buf if target supports
+       hardware single step or vCont_supported is false.
+       (capture_main): Set vCont_supported to zero.
+
+2015-09-15  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-low.c (linux_supports_conditional_breakpoints): Rename
+       it to ...
+       (linux_supports_hardware_single_step): ... New function.
+       (linux_target_ops): Update.
+       * lynx-low.c (lynx_target_ops): Set field
+       supports_hardware_single_step to target_can_do_hardware_single_step.
+       * nto-low.c (nto_target_ops): Likewise.
+       * spu-low.c (spu_target_ops): Likewise.
+       * win32-low.c (win32_target_ops): Likewise.
+       * target.c (target_can_do_hardware_single_step): New function.
+       * target.h (struct target_ops) <supports_conditional_breakpoints>:
+       Remove.  <supports_hardware_single_step>: New field.
+       (target_supports_conditional_breakpoints): Remove.
+       (target_supports_hardware_single_step): New macro.
+       (target_can_do_hardware_single_step): Declare.
+       * server.c (handle_query): Use target_supports_hardware_single_step
+       instead of target_supports_conditional_breakpoints.
+
+2015-09-15  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-aarch64-low.c (aarch64_linux_siginfo_fixup): New
+       function.
+       (struct linux_target_ops the_low_target): Install
+       aarch64_linux_siginfo_fixup.
+
+2015-09-11  Don Breazeal  <donb@codesourcery.com>
+           Luis Machado  <lgustavo@codesourcery.com>
+
+       * linux-low.c (linux_mourn): Static declaration.
+       (linux_arch_setup): Move in front of
+       handle_extended_wait.
+       (linux_arch_setup_thread): New function.
+       (handle_extended_wait): Handle exec events.  Call
+       linux_arch_setup_thread.  Make event_lwp argument a
+       pointer-to-a-pointer.
+       (check_zombie_leaders): Do not check stopped threads.
+       (linux_low_ptrace_options): Add PTRACE_O_TRACEEXEC.
+       (linux_low_filter_event): Add lwp and thread for exec'ing
+       non-leader thread if leader thread has been deleted.
+       Refactor code into linux_arch_setup_thread and call it.
+       Pass child lwp pointer by reference to handle_extended_wait.
+       (linux_wait_for_event_filtered): Update comment.
+       (linux_wait_1): Prevent clobbering exec event status.
+       (linux_supports_exec_events): New function.
+       (linux_target_ops) <supports_exec_events>: Initialize new member.
+       * lynx-low.c (lynx_target_ops) <supports_exec_events>: Initialize
+       new member.
+       * remote-utils.c (prepare_resume_reply): New stop reason 'exec'.
+       * server.c (report_exec_events): New global variable.
+       (handle_query): Handle qSupported query for exec-events feature.
+       (captured_main): Initialize report_exec_events.
+       * server.h (report_exec_events): Declare new global variable.
+       * target.h (struct target_ops) <supports_exec_events>: New
+       member.
+       (target_supports_exec_events): New macro.
+       * win32-low.c (win32_target_ops) <supports_exec_events>:
+       Initialize new member.
+
+2015-09-09  Markus Metzger  <markus.t.metzger@intel.com>
+
+       * linux-low.c (linux_low_enable_btrace): Remove.
+       (linux_target_ops): Replace linux_low_enable_btrace with
+       linux_enable_btrace.
+
+2015-09-03  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-aarch64-low.c (aarch64_insert_point): Call
+       aarch64_handle_watchpoint if aarch64_linux_region_ok_for_watchpoint
+       returns true.
+
+2015-08-27  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
+       * linux-low.c (check_stopped_by_breakpoint): Use
+       GDB_ARCH_IS_TRAP_BRKPT instead of GDB_ARCH_TRAP_BRKPT.
+
+2015-08-27  Pedro Alves  <palves@redhat.com>
+
+       * proc-service.c (ps_pdwrite): Return PS_ERR/PS_OK explicily.
+
+2015-08-26  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * ax.c (gdb_parse_agent_expr): Replace xmalloc-family function with
+       the XNEW-family equivalent.
+       (compile_bytecodes): Likewise.
+       * dll.c (loaded_dll): Likewise.
+       * event-loop.c (append_callback_event): Likewise.
+       (create_file_handler): Likewise.
+       (create_file_event): Likewise.
+       * hostio.c (handle_open): Likewise.
+       * inferiors.c (add_thread): Likewise.
+       (add_process): Likewise.
+       * linux-aarch64-low.c (aarch64_linux_new_process): Likewise.
+       * linux-arm-low.c (arm_new_process): Likewise.
+       (arm_new_thread): Likewise.
+       * linux-low.c (add_to_pid_list): Likewise.
+       (linux_add_process): Likewise.
+       (handle_extended_wait): Likewise.
+       (add_lwp): Likewise.
+       (enqueue_one_deferred_signal): Likewise.
+       (enqueue_pending_signal): Likewise.
+       (linux_resume_one_lwp_throw): Likewise.
+       (linux_resume_one_thread): Likewise.
+       (linux_read_memory): Likewise.
+       (linux_write_memory): Likewise.
+       * linux-mips-low.c (mips_linux_new_process): Likewise.
+       (mips_linux_new_thread): Likewise.
+       (mips_add_watchpoint): Likewise.
+       * linux-x86-low.c (initialize_low_arch): Likewise.
+       * lynx-low.c (lynx_add_process): Likewise.
+       * mem-break.c (set_raw_breakpoint_at): Likewise.
+       (set_breakpoint): Likewise.
+       (add_condition_to_breakpoint): Likewise.
+       (add_commands_to_breakpoint): Likewise.
+       (clone_agent_expr): Likewise.
+       (clone_one_breakpoint): Likewise.
+       * regcache.c (new_register_cache): Likewise.
+       * remote-utils.c (look_up_one_symbol): Likewise.
+       * server.c (queue_stop_reply): Likewise.
+       (start_inferior): Likewise.
+       (queue_stop_reply_callback): Likewise.
+       (handle_target_event): Likewise.
+       * spu-low.c (fetch_ppc_memory): Likewise.
+       (store_ppc_memory): Likewise.
+       * target.c (set_target_ops): Likewise.
+       * thread-db.c (thread_db_load_search): Likewise.
+       (try_thread_db_load_1): Likewise.
+       * tracepoint.c (add_tracepoint): Likewise.
+       (add_tracepoint_action): Likewise.
+       (create_trace_state_variable): Likewise.
+       (cmd_qtdpsrc): Likewise.
+       (cmd_qtro): Likewise.
+       (add_while_stepping_state): Likewise.
+       * win32-low.c (child_add_thread): Likewise.
+       (get_image_name): Likewise.
+
+2015-08-25  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-aarch64-low.c (aarch64_linux_new_thread): Remove.
+
+2015-08-25  Yao Qi  <yao.qi@linaro.org>
+
+       * Makefile.in (aarch64-linux.o): New rule.
+       * configure.srv (aarch64*-*-linux*): Append aarch64-linux.o to
+       srv_tgtobj.
+       * linux-aarch64-low.c: Include nat/aarch64-linux.h.
+       (aarch64_init_debug_reg_state): Make it extern.
+       (aarch64_linux_prepare_to_resume): Remove.
+
+2015-08-25  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-aarch64-low.c (aarch64_linux_prepare_to_resume): Use
+       lwp_arch_private_info and ptid_of_lwp.
+
+2015-08-25  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-aarch64-low.c (aarch64_get_debug_reg_state): Add argument pid.
+       Find proc_info by find_process_pid.  All callers updated.
+
+2015-08-25  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-aarch64-low.c (struct arch64_dr_update_callback_param):
+       Remove.
+       (debug_reg_change_callback): Remove.
+       (aarch64_notify_debug_reg_change): Remove.
+
+2015-08-25  Yao Qi  <yao.qi@linaro.org>
+
+       * linux-aarch64-low.c (aarch64_notify_debug_reg_change):
+       Call current_lwp_ptid.
+
 2015-08-25  Yao Qi  <yao.qi@linaro.org>
 
        * linux-aarch64-low.c (debug_reg_change_callback): Use
This page took 0.029827 seconds and 4 git commands to generate.