OSDN Git Service

2001-05-25 Michael Snyder <msnyder@redhat.com>
authorMichael Snyder <msnyder@specifix.com>
Wed, 30 May 2001 22:58:37 +0000 (22:58 +0000)
committerMichael Snyder <msnyder@specifix.com>
Wed, 30 May 2001 22:58:37 +0000 (22:58 +0000)
commit7755bf2741d0878327a671d8374a6c8eeaf5cc54
tree76ac7c9da42f5270be910ec3ae98bf594f08f24c
parent4509a12d2d01d5b0db11374a686e98c93a5f5117
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