[Bug 250954] ptrace(): weird ordering between inheriting debug registers and reporting a new thread

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Nov 8 23:49:58 UTC 2020


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

--- Comment #5 from Konstantin Belousov <kib at FreeBSD.org> ---
(In reply to Michał Górny from comment #4)
I do not quite understand what do you mean by 'relying on LWP events'.  Events
are delivered by reporting stops, there is no separate channel that
communicates
events.  And then, you need to call PT_LWPINFO to get the events reported in
pl_flags, after getting stop notification from waitpid(2).

That said, I am not saying that there is no bug with debug registers control,
but to make the conclusion, I need a convincing example, while your sample is
not (yet).  I also would need it to confirm that the bug is indeed fixed.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list