git: ed6b9e2ff0b3 - stable/13 - ptrace: remove dead call to FIX_SSTEP()

Konstantin Belousov kib at FreeBSD.org
Fri Apr 23 11:15:14 UTC 2021


The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=ed6b9e2ff0b31b748c9433121649ded190d734a8

commit ed6b9e2ff0b31b748c9433121649ded190d734a8
Author:     Konstantin Belousov <kib at FreeBSD.org>
AuthorDate: 2021-04-11 09:02:34 +0000
Commit:     Konstantin Belousov <kib at FreeBSD.org>
CommitDate: 2021-04-23 11:14:08 +0000

    ptrace: remove dead call to FIX_SSTEP()
    
    (cherry picked from commit 9d7e450b64f1e605c718fba0f357d49541c8147b)
---
 sys/kern/sys_process.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c
index 3a184f1d678f..a63cf9a80834 100644
--- a/sys/kern/sys_process.c
+++ b/sys/kern/sys_process.c
@@ -784,13 +784,6 @@ kern_ptrace(struct thread *td, int req, pid_t pid, void *addr, int data)
 	/* Keep this process around until we finish this request. */
 	_PHOLD(p);
 
-#ifdef FIX_SSTEP
-	/*
-	 * Single step fixup ala procfs
-	 */
-	FIX_SSTEP(td2);
-#endif
-
 	/*
 	 * Actually do the requests
 	 */


More information about the dev-commits-src-all mailing list