Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Oct 2017 18:03:55 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r324215 - in stable: 10/sys/kern 11/sys/kern
Message-ID:  <201710021803.v92I3teM066858@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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/10/sys/kern/sys_process.c
Directory Properties:
  stable/10/   (props changed)

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

Modified: stable/10/sys/kern/sys_process.c
==============================================================================
--- stable/10/sys/kern/sys_process.c	Mon Oct  2 17:20:07 2017	(r324214)
+++ stable/10/sys/kern/sys_process.c	Mon Oct  2 18:03:55 2017	(r324215)
@@ -981,8 +981,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;



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