Wording and reviewed by:	jhb
Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
Differential revision:	https://reviews.freebsd.org/D15054
This commit is contained in:
Konstantin Belousov 2018-05-23 21:25:49 +00:00
parent 4f6c66cc9c
commit 61bc50d032
2 changed files with 2 additions and 0 deletions

View File

@ -1985,6 +1985,7 @@ ptrace_single_step(struct thread *td)
int
ptrace_clear_single_step(struct thread *td)
{
td->td_frame->tf_rflags &= ~PSL_T;
return (0);
}

View File

@ -2771,6 +2771,7 @@ ptrace_single_step(struct thread *td)
int
ptrace_clear_single_step(struct thread *td)
{
td->td_frame->tf_eflags &= ~PSL_T;
return (0);
}