Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Nov 2020 23:49:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 250954] ptrace(): weird ordering between inheriting debug registers and reporting a new thread
Message-ID:  <bug-250954-227-XKi5GkQRZr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-250954-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-250954-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250954

--- Comment #5 from Konstantin Belousov <kib@FreeBSD.org> ---
(In reply to Micha=C5=82 G=C3=B3rny from comment #4)
I do not quite understand what do you mean by 'relying on LWP events'.  Eve=
nts
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 contro=
l,
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250954-227-XKi5GkQRZr>