From: Roland McGrath Date: Mon, 11 Jun 2007 22:06:37 +0000 (+0000) Subject: . X-Git-Tag: v4.5.18~222 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8a483d8562559f1d017f06905ff84b3d724604b0;p=strace . --- diff --git a/ChangeLog b/ChangeLog index e3ceef8c..3509caa5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,24 @@ +2007-06-11 Jan Kratochvil + + Never interrupt when the attached traced process would be left stopped. + * strace.c (main): `-p' attaching moved to ... + (startup_attach): ... a new function, renamed a variable C to TCBI. + Block interrupting signals since the first tracee has been attached. + New comment about INTERRUPTED in the nonthreaded case. + [LINUX] (startup_attach): Check INTERRUPTED after each attached thread. + (main): Command spawning moved to ... + (startup_child): ... a new function, replaced RETURN with EXIT. + [LINUX] (detach): New variable CATCH_SIGSTOP, do not signal + new SIGSTOP for processes still in TCB_STARTUP. + (main): Move signals and BLOCKED_SET init before the tracees attaching, + [SUNOS4] (trace): Removed fixvfork () call as a dead code, SIGSTOP must + have been already caught before clearing TCB_STARTUP. + (trace): Removed the `!WIFSTOPPED(status)' dead code. + Clear TCB_STARTUP only in the case the received signal was SIGSTOP. + New comment when `TCB_BPTSET && TCB_STARTUP' combination can be set. + Code advisory: Roland McGrath + Fixes RH#240986. + 2007-05-24 Jan Kratochvil * strace.c [LINUX] (my_tgkill): New macro.