diff options
author | jhb <jhb@FreeBSD.org> | 2017-10-02 18:03:55 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2017-10-02 18:03:55 +0000 |
commit | ebb4dc75702e7043940b8e67b0f359a7bf1b4414 (patch) | |
tree | 32236c49208b84d993184b01d96db0b64eda4e25 | |
parent | d655bf206e3fb435e1a9e4ed64a79240f8b3a329 (diff) | |
download | FreeBSD-src-ebb4dc75702e7043940b8e67b0f359a7bf1b4414.zip FreeBSD-src-ebb4dc75702e7043940b8e67b0f359a7bf1b4414.tar.gz |
MFC 323994: Log signal number passed to PT_STEP requests in KTR_PTRACE traces.stable/10
-rw-r--r-- | sys/kern/sys_process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c index 653d6e3..a642555 100644 --- a/sys/kern/sys_process.c +++ b/sys/kern/sys_process.c @@ -981,8 +981,8 @@ kern_ptrace(struct thread *td, int req, pid_t pid, void *addr, int data) 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; |