* linux-low.c (status_pending_p_callback): Fix comment.
authorPedro Alves <palves@redhat.com>
Wed, 24 Mar 2010 21:12:45 +0000 (21:12 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 24 Mar 2010 21:12:45 +0000 (21:12 +0000)
commit6bf5e0ba81ad745cf18577ae77cd1ff75c92282a
tree97fc212e24f5bea5ff857d568ed90a283f28394b
parent9add0f1b436c28b8a22c2fee1b7b355eb9d0e28c
* linux-low.c (status_pending_p_callback): Fix comment.
(linux_wait_for_event_1): Move most of the internal breakpoint
handling from here...
(linux_wait_1): ... to here.
(count_events_callback): New.
(select_singlestep_lwp_callback): New.
(select_event_lwp_callback): New.
(cancel_breakpoints_callback): New.
(select_event_lwp): New.
(linux_wait_1): Simplify internal breakpoint handling.  Give equal
priority to all LWPs that have had events that should be reported
to the client.  Cancel breakpoints when about to reporting the
event to the client, not while stopping lwps.  No longer cancel
finished single-steps here.
(cancel_finished_single_step): Delete.
(cancel_finished_single_steps): Delete.
gdb/gdbserver/ChangeLog
gdb/gdbserver/linux-low.c