aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/proc.h
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2019-04-25 18:42:07 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2019-04-25 18:42:07 +0000
commit83bf5ec367858df1b51f88098304c17c91664d48 (patch)
treeabd223fa6f4214d1f10d0ef1bd2cac509a42748f /sys/sys/proc.h
parentabc15d70b023a6531d4e0cbd194e160db3fc7b14 (diff)
downloadsrc-83bf5ec367858df1b51f88098304c17c91664d48.tar.gz
src-83bf5ec367858df1b51f88098304c17c91664d48.zip
Remove p_code from struct proc.
Contrary to the comments, it was never used by core dumps or debuggers. Instead, it used to hold the signal code of a pending signal, but that was replaced by the 'ksi_code' member of ksiginfo_t when signal information was reworked in 7.0. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D20047
Notes
Notes: svn path=/head/; revision=346695
Diffstat (limited to 'sys/sys/proc.h')
-rw-r--r--sys/sys/proc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index e51caf7c9a35..4c37b9fb3ff0 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -617,7 +617,6 @@ struct proc {
struct sigiolst p_sigiolst; /* (c) List of sigio sources. */
int p_sigparent; /* (c) Signal to parent on exit. */
int p_sig; /* (n) For core dump/debugger XXX. */
- u_long p_code; /* (n) For core dump/debugger XXX. */
u_int p_stops; /* (c) Stop event bitmask. */
u_int p_stype; /* (c) Stop event type. */
char p_step; /* (c) Process is stopped. */