Log signal number passed to PT_STEP requests in KTR_PTRACE traces.
MFC after: 1 week
This commit is contained in:
parent
55f7f610b5
commit
3adfca76a7
@ -1039,8 +1039,8 @@ kern_ptrace(struct thread *td, int req, pid_t pid, void *addr, int data)
|
|||||||
|
|
||||||
switch (req) {
|
switch (req) {
|
||||||
case PT_STEP:
|
case PT_STEP:
|
||||||
CTR2(KTR_PTRACE, "PT_STEP: tid %d (pid %d)",
|
CTR3(KTR_PTRACE, "PT_STEP: tid %d (pid %d), sig = %d",
|
||||||
td2->td_tid, p->p_pid);
|
td2->td_tid, p->p_pid, data);
|
||||||
error = ptrace_single_step(td2);
|
error = ptrace_single_step(td2);
|
||||||
if (error)
|
if (error)
|
||||||
goto out;
|
goto out;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user