From 61bc50d032e17c44e81bdba70dadd93a407cf270 Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Wed, 23 May 2018 21:25:49 +0000 Subject: [PATCH] Style. Wording and reviewed by: jhb Sponsored by: The FreeBSD Foundation MFC after: 3 days Differential revision: https://reviews.freebsd.org/D15054 --- sys/amd64/amd64/machdep.c | 1 + sys/i386/i386/machdep.c | 1 + 2 files changed, 2 insertions(+) diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index a14026398bd0..434ade229eeb 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -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); } diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index c1ba777d26d4..be69f616316b 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -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); }