OSDN Git Service

2001-05-25 Michael Snyder <msnyder@redhat.com>
authormsnyder <msnyder>
Wed, 30 May 2001 22:58:36 +0000 (22:58 +0000)
committermsnyder <msnyder>
Wed, 30 May 2001 22:58:36 +0000 (22:58 +0000)
commite6771ed4a0193fa82e5cf83843e2bd4a1db78643
treeeaf5a8c3160791ee7e6748a049cc997867f5b281
parentd35dc02e49bce99de990b309d82fed4b38205a0c
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