gdbserver: fix killed-outside.exp
[deliverable/binutils-gdb.git] / gdb / gdbserver / ChangeLog
index 22d729f0db809715fb3d64f2438144f7c580f022..bc09844a666eed9e2e9569dce7687aae9f339eed 100644 (file)
@@ -1,3 +1,42 @@
+2015-11-30  Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (thread_still_has_status_pending_p): Don't check
+       vCont;t here.
+       (lwp_resumed): New function.
+       (status_pending_p_callback): Return early if the LWP is not
+       supposed to be resumed.
+
+2015-11-30  Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (handle_extended_wait): Assert that the LWP's
+       waitstatus is TARGET_WAITKIND_IGNORE.  If GDB wants to hear about
+       thread create events, leave the new child's status pending.
+       (linux_low_filter_event): If GDB wants to hear about thread exit
+       events, leave the LWP marked dead and don't delete it.
+       (linux_wait_for_event_filtered): Don't check for thread exit.
+       (filter_exit_event): New function.
+       (linux_wait_1): Use it, when returning an exit event.
+       (linux_resume_one_lwp_throw): Assert that the LWP's
+       waitstatus is TARGET_WAITKIND_IGNORE.
+       * remote-utils.c (prepare_resume_reply): Handle
+       TARGET_WAITKIND_THREAD_CREATED and TARGET_WAITKIND_THREAD_EXITED.
+       * server.c (report_thread_events): New global.
+       (handle_general_set): Handle QThreadEvents.
+       (handle_query) <qSupported>: Handle and report QThreadEvents+;
+       (handle_target_event): Handle TARGET_WAITKIND_THREAD_CREATED and
+       TARGET_WAITKIND_THREAD_EXITED.
+       * server.h (report_thread_events): Declare.
+
+2015-11-30  Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (resume_stopped_resumed_lwps): Don't check whether
+       the thread's last_resume_kind was resume_stop.
+
+2015-11-30  Pedro Alves  <palves@redhat.com>
+
+       * linux-low.c (linux_attach): In non-stop mode, wait for one stop
+       before returning.
+
 2015-11-30  Pedro Alves  <palves@redhat.com>
 
        * server.c (handle_v_requests): Handle vCtrlC.
This page took 0.025268 seconds and 4 git commands to generate.