* linux-low.c (linux_kill_one_lwp): Assume the lwp is stopped.
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index f77fbcaa49c914013f15b8e87b1ce1de95a82570..a1f479857b45fe20131d0d698b61543e65801267 100644 (file)
@@ -1,3 +1,55 @@
+2010-05-02  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.c (linux_kill_one_lwp): Assume the lwp is stopped.
+       (linux_kill): Stop all lwps here.  Don't delete the main lwp here.
+       (linux_detach_one_lwp): Assume the lwp is stopped.
+       (any_thread_of): Delete.
+       (linux_detach): Stop all lwps here.  Don't blindly delete all
+       breakpoints.
+       (delete_lwp_callback): New.
+       (linux_mourn): Delete all lwps of the process that is gone.
+       (linux_wait_1): Don't delete the last lwp of the process here.
+       * mem-break.h (mark_breakpoints_out): Declare.
+       * mem-break.c (mark_breakpoints_out): New.
+       (free_all_breakpoints): Use it.
+       * server.c (handle_target_event): If the process is gone, mark
+       breakpoints out.
+       * thread-db.c (struct thread_db) <create_bp>: New field.
+       (thread_db_enable_reporting): Fix prototype.  Store a thread event
+       breakpoint reference in the thread_db struct.
+       (thread_db_load_search): Clear the thread_db object.
+       (try_thread_db_load_1): Ditto.
+       (switch_to_process): New.
+       (disable_thread_event_reporting): Use it.
+       (remove_thread_event_breakpoints): New.
+       (thread_db_detach, thread_db_mourn): Use it.
+
+2010-05-01  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.c (linux_enable_event_reporting): New.
+       (linux_wait_for_event_1, handle_extended_wait): Use it.
+
+2010-04-30  Pedro Alves  <pedro@codesourcery.com>
+
+       * linux-low.c (linux_kill_one_lwp, linux_kill)
+       (linux_detach_one_lwp): Adjust to send_sigstop interface change.
+       (send_sigstop): Take an lwp_info as parameter instead.  Queue a
+       SIGSTOP even if the LWP is stopped.
+       (send_sigstop_callback): New.
+       (stop_all_lwps): Use send_sigstop_callback instead.
+       (linux_resume_one_thread): Adjust.
+       (proceed_one_lwp): Still proceed an LWP that the client has
+       requested to stop, if we haven't reported it as stopped yet.  Make
+       sure that LWPs the client want stopped, have a pending SIGSTOP.
+
+2010-04-26  Doug Evans  <dje@google.com>
+
+       * server.c (handle_general_set): Make static.
+
+       * remote-utils.c (putpkt_binary_1): Call readchar instead of read.
+       Print received char after testing for error/eof instead of before.
+       (input_interrupt): Tweak comment.
+
 2010-04-23  Doug Evans  <dje@google.com>
 
        * server.c (start_inferior): Print inferior argv if --debug.
This page took 0.025081 seconds and 4 git commands to generate.