HomeFreeBSD

linux_clone_thread: mark new thread as TDB_BORN.

Description

linux_clone_thread: mark new thread as TDB_BORN.

So that the ptrace code will catch it and report it to attached
debugger. Enables debugging of threaded Linux binaries with FreeBSD
debugger.

Submitted by: Yanko Yankulov <yanko.yankulov@gmail.com>
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D15880

Details

Provenance
kibAuthored on
Differential Revision
D15880: linux_clone_thread: mark new thread as TDB_BORN
Parents
rS335504: fork: avoid endless wait with PTRACE_FORK and RFSTOPPED.
Branches
Unknown
Tags
Unknown