OSDN Git Service

* linux-low.c (status_pending_p_callback): Fix comment.
authorpalves <palves>
Thu, 25 Mar 2010 06:12:45 +0000 (06:12 +0000)
committerpalves <palves>
Thu, 25 Mar 2010 06:12:45 +0000 (06:12 +0000)
commit398ad13c5a8976712f4d52054eae8df326aa2ae9
tree9c364bd50f4993fab3db149f8dd528aaf053a7df
parentcc3259f21ee73e96e651fff5d8fc4bea21be2088
* 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