svn commit: r324215 - in stable: 10/sys/kern 11/sys/kern

John Baldwin jhb at FreeBSD.org
Mon Oct 2 18:03:56 UTC 2017


Author: jhb
Date: Mon Oct  2 18:03:55 2017
New Revision: 324215
URL: https://svnweb.freebsd.org/changeset/base/324215

Log:
  MFC 323994: Log signal number passed to PT_STEP requests in KTR_PTRACE traces.

Modified:
  stable/11/sys/kern/sys_process.c
Directory Properties:
  stable/11/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/10/sys/kern/sys_process.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/11/sys/kern/sys_process.c
==============================================================================
--- stable/11/sys/kern/sys_process.c	Mon Oct  2 17:20:07 2017	(r324214)
+++ stable/11/sys/kern/sys_process.c	Mon Oct  2 18:03:55 2017	(r324215)
@@ -1053,8 +1053,8 @@ kern_ptrace(struct thread *td, int req, pid_t pid, voi
 
 		switch (req) {
 		case PT_STEP:
-			CTR2(KTR_PTRACE, "PT_STEP: tid %d (pid %d)",
-			    td2->td_tid, p->p_pid);
+			CTR3(KTR_PTRACE, "PT_STEP: tid %d (pid %d), sig = %d",
+			    td2->td_tid, p->p_pid, data);
 			error = ptrace_single_step(td2);
 			if (error)
 				goto out;


More information about the svn-src-stable mailing list