PT_CONTINUE: if pc is set, mark the thread state as modified by user

Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differrential revision:	https://reviews.freebsd.org/D50556
This commit is contained in:
Konstantin Belousov
2025-05-28 00:08:43 +03:00
parent b57eb80596
commit def0c056d3
+1
View File
@@ -1233,6 +1233,7 @@ kern_ptrace(struct thread *td, int req, pid_t pid, void *addr, int data)
(u_long)(uintfptr_t)addr);
if (error)
goto out;
td2->td_dbgflags |= TDB_USERWR;
}
switch (req) {
case PT_TO_SCE: