Make lwp_info.arch_private handling shared
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index df8f9ab888c820bae2f2958291238654126295d1..cf858edceedb013dd8a92c0caec3c9de04fa565f 100644 (file)
@@ -1,3 +1,89 @@
+2015-03-24  Gary Benson  <gbenson@redhat.com>
+
+       * Makefile.in (x86-linux.o): New rule.
+       * configure.srv: Add x86-linux.o to relevant targets.
+       * linux-low.c (lwp_set_arch_private_info): New function.
+       (lwp_arch_private_info): Likewise.
+       * linux-x86-low.c: Include nat/x86-linux.h.
+       (arch_lwp_info): Removed structure.
+       (update_debug_registers_callback):
+       Use lwp_set_debug_registers_changed.
+       (x86_linux_prepare_to_resume): Use lwp_debug_registers_changed
+       and lwp_set_debug_registers_changed.
+       (x86_linux_new_thread): Use lwp_set_debug_registers_changed.
+
+2015-03-24  Gary Benson  <gbenson@redhat.com>
+
+       * linux-low.h (linux_target_ops) <new_thread>: Changed signature.
+       * linux-arm-low.c (arm_new_thread): Likewise.
+       * linux-aarch64-low.c (aarch64_linux_new_thread): Likewise.
+       * linux-mips-low.c (mips_linux_new_thread): Likewise.
+       * linux-x86-low.c (x86_linux_new_thread): Likewise.
+       * linux-low.c (add_lwp): Update the_low_target.new_thread call.
+
+2015-03-24  Gary Benson  <gbenson@redhat.com>
+
+       * linux-low.c (ptid_of_lwp): New function.
+       (lwp_is_stopped): Likewise.
+       (lwp_stop_reason): Likewise.
+       * linux-x86-low.c (update_debug_registers_callback):
+       Use lwp_is_stopped.
+       (x86_linux_prepare_to_resume): Use ptid_of_lwp and
+       lwp_stop_reason.
+
+2015-03-24  Gary Benson  <gbenson@redhat.com>
+
+       * linux-low.h (linux_stop_lwp): Remove declaration.
+
+2015-03-24  Gary Benson  <gbenson@redhat.com>
+
+       * linux-low.h: Include nat/linux-nat.h.
+       * linux-low.c (iterate_over_lwps_args): New structure.
+       (iterate_over_lwps_filter): New function.
+       (iterate_over_lwps): Likewise.
+       * linux-x86-low.c (update_debug_registers_callback):
+       Update signature to what iterate_over_lwps expects.
+       Remove PID check that iterate_over_lwps now performs.
+       (x86_dr_low_set_addr): Use iterate_over_lwps.
+       (x86_dr_low_set_control): Likewise.
+
+2015-03-24  Gary Benson  <gbenson@redhat.com>
+
+       * linux-x86-low.c (x86_debug_reg_state): New function.
+       (x86_linux_prepare_to_resume): Use the above.
+
+2015-03-24  Gary Benson  <gbenson@redhat.com>
+
+       * linux-low.c (current_lwp_ptid): New function.
+       * linux-x86-low.c: Include nat/linux-nat.h.
+       (x86_dr_low_get_addr): Use current_lwp_ptid.
+       (x86_dr_low_get_control): Likewise.
+       (x86_dr_low_get_status): Likewise.
+
+2015-03-20  Pedro Alves  <palves@redhat.com>
+
+       * tracepoint.c (cmd_qtstatus): Make "str" const.
+
+2015-03-20  Pedro Alves  <palves@redhat.com>
+
+       * server.c (handle_general_set): Make "req_str" const.
+
+2015-03-19  Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (linux_resume_one_lwp): Rename to ...
+       (linux_resume_one_lwp_throw): ... this.  Don't handle ESRCH here,
+       instead call perror_with_name.
+       (check_ptrace_stopped_lwp_gone): New function.
+       (linux_resume_one_lwp): Reimplement as wrapper around
+       linux_resume_one_lwp_throw that swallows errors if the LWP is
+       gone.
+
+2015-03-19  Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (count_events_callback, select_event_lwp_callback):
+       No longer check whether the thread has resume_stop as last resume
+       kind.
+
 2015-03-19 Pedro Alves  <palves@redhat.com>
 
        * linux-low.c (count_events_callback, select_event_lwp_callback):
This page took 0.028541 seconds and 4 git commands to generate.