https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250954

--- Comment #11 from Konstantin Belousov <[email protected]> ---
(In reply to Michał Górny from comment #10)
And again I do not understand what you are complaining about.

We stop target before new thread returns to userspace.  This is the moment
where
TDB_BORN or TBD_SCX are checked.  So if you are tracing either syscall exits
or forks you get stop with SIGTRAP and pl_flag PL_FLAG_BORN.  More, I believe
that pl_lwpid is set to the lwpid of the new thread.

At that stop, you can set whatever registers in the newborn thread.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to