Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys Include pe_lwp member in 'struct ptrace_state'
details: https://anonhg.NetBSD.org/src/rev/c575a10ce17a
branches: trunk
changeset: 964388:c575a10ce17a
user: mgorny <mgorny%NetBSD.org@localhost>
date: Tue Jul 30 20:18:11 2019 +0000
description:
Include pe_lwp member in 'struct ptrace_state'
Reviewed by kamil.
diffstat:
lib/libc/sys/ptrace.2 | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r e02b6bd187b7 -r c575a10ce17a lib/libc/sys/ptrace.2
--- a/lib/libc/sys/ptrace.2 Tue Jul 30 16:49:20 2019 +0000
+++ b/lib/libc/sys/ptrace.2 Tue Jul 30 20:18:11 2019 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: ptrace.2,v 1.79 2019/07/11 03:30:01 mgorny Exp $
+.\" $NetBSD: ptrace.2,v 1.80 2019/07/30 20:18:11 mgorny Exp $
.\"
.\" This file is in the public domain.
.Dd July 11, 2019
@@ -519,11 +519,14 @@
that stopped the traced process.
The information is reported in a
.Vt struct ptrace_state
-defined as:
+that is equivalent to:
.Bd -literal -offset indent
typedef struct ptrace_state {
int pe_report_event;
- pid_t pe_other_pid;
+ union {
+ pid_t pe_other_pid;
+ lwpid_t pe_lwp;
+ };
} ptrace_state_t;
.Ed
.Pp
Home |
Main Index |
Thread Index |
Old Index