* 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)
commit00d4fce629717a444cd3a75b1b9f03b517dbc961
tree7534e02606b4f33072ce719b783af7ed7c05b164
parent32cfffe3161a911161fad30f068b4d8a22e85017
* 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