Date: Mon, 25 Sep 2017 20:38:55 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r323994 - head/sys/kern Message-ID: <201709252038.v8PKct3x043163@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Mon Sep 25 20:38:55 2017 New Revision: 323994 URL: https://svnweb.freebsd.org/changeset/base/323994 Log: Log signal number passed to PT_STEP requests in KTR_PTRACE traces. MFC after: 1 week Modified: head/sys/kern/sys_process.c Modified: head/sys/kern/sys_process.c ============================================================================== --- head/sys/kern/sys_process.c Mon Sep 25 20:26:16 2017 (r323993) +++ head/sys/kern/sys_process.c Mon Sep 25 20:38:55 2017 (r323994) @@ -1039,8 +1039,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?201709252038.v8PKct3x043163>