Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Apr 2021 11:44:44 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 9d7e450b64f1 - main - ptrace: remove dead call to FIX_SSTEP()
Message-ID:  <202104111144.13BBiiii072828@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kib:

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

commit 9d7e450b64f1e605c718fba0f357d49541c8147b
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-04-11 09:02:34 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-04-11 11:44:30 +0000

    ptrace: remove dead call to FIX_SSTEP()
    
    It was an alias for procfs_fix_sstep() long time ago.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
---
 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 51c7bd662600..99bb2e992208 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
 	 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104111144.13BBiiii072828>