OSDN Git Service

* lin-lwp.c (count_events_callback): Fix formatting. Turn check
authorMark Kettenis <kettenis@gnu.org>
Fri, 6 Jul 2001 22:31:47 +0000 (22:31 +0000)
committerMark Kettenis <kettenis@gnu.org>
Fri, 6 Jul 2001 22:31:47 +0000 (22:31 +0000)
commit7c7495444a02aa4f7725134121f552b46dd91e95
tree712b8b954a9f7475709a5ae223c6b4b6c34370db
parentadf4a9439dcbcadfaf92c9ffd10365e8f515db93
* lin-lwp.c (count_events_callback): Fix formatting.  Turn check
commented with "paranoia" into gdb_assert.
(select_event_lwp_callback): Likewise.
(cancel_breakpoints_callback): Bail out early if LP is the event
LWP.  Add comment about backup up breakpoints.  Fix formatting and
debug message.
(select_event_lwp): Make solely repsonsible for switching event
LWP.  Fix formatting and remove bogus "ERROR" debug message.
Don't backup breakpoints from here.
(lin_lwp_wait): Don't touch LP->status, let select_event_lwp
handle that.  Only call select_event_lwp if we're not waiting for
a specific LWP, i.e. when PID == -1.  Backup breakpoints from here.
gdb/ChangeLog
gdb/lin-lwp.c