2001-05-25 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@vmware.com>
Wed, 30 May 2001 22:58:37 +0000 (22:58 +0000)
committerMichael Snyder <msnyder@vmware.com>
Wed, 30 May 2001 22:58:37 +0000 (22:58 +0000)
commitc4365b191568c9bcc036325b62cbad9044db92e1
tree3edca329f0b3b0442b7133f4b916b28efe032a4d
parent6b3db5465408e7f2004d606602d377d6c0bb9ff5
2001-05-25  Michael Snyder  <msnyder@redhat.com>

* lin-lwp.c (lin_lwp_attach_lwp): Call stop_wait_callback,
to consume the SIGSTOP generated by PTRACE_ATTACH.
(stop_wait_callback): If a SIGTRAP or a SIGINT event is consumed,
try again to get the SIGSTOP event.
(lin_lwp_wait): Resume all threads when ignoring a signal.
This will insure that newly attached threads get resumed.
gdb/ChangeLog
gdb/lin-lwp.c