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; _______________________________________________ svn-src-stable-10@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10 To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"