On 06/19/2013 01:24 PM, Dmitry V. Levin wrote:
> On Wed, Jun 19, 2013 at 12:58:13PM +0200, Denys Vlasenko wrote:
>> V2: check WSTOPSIG(status) == syscall_trap_sig, not SIGTRAP.
>> Add comments explaining what we think about the process status
>> in detach() at various steps. Simplify PTRACE_CONT
>> in wait loop since now syscall_trap_sig can't be seen there.
>> Verified that tests/detach works.
> 
> With this patch,
> tests/detach-running fails (detach hangs) in use_seize case,
> tests/detach-sleeping fails (detach hangs) in !use_seize case.

First - _excellent_ tests! We missed them a lot!

Looking at it. It is more complicated than it looks :/
Expect a patch later today.


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to