aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/amd64/trap.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2020-04-01 19:22:09 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2020-04-01 19:22:09 +0000
commit59838c1a1979924f3904536f2e6d5a771e185c14 (patch)
treece7764a4aa67665a70f2079c297f21e0d1225c33 /sys/amd64/amd64/trap.c
parent02cb5b4be86ed9827ddd8c39df5f48e6925c66d8 (diff)
downloadsrc-59838c1a1979924f3904536f2e6d5a771e185c14.tar.gz
src-59838c1a1979924f3904536f2e6d5a771e185c14.zip
Retire procfs-based process debugging.
Modern debuggers and process tracers use ptrace() rather than procfs for debugging. ptrace() has a supserset of functionality available via procfs and new debugging features are only added to ptrace(). While the two debugging services share some fields in struct proc, they each use dedicated fields and separate code. This results in extra complexity to support a feature that hasn't been enabled in the default install for several years. PR: 244939 (exp-run) Reviewed by: kib, mjg (earlier version) Relnotes: yes Differential Revision: https://reviews.freebsd.org/D23837
Notes
Notes: svn path=/head/; revision=359530
Diffstat (limited to 'sys/amd64/amd64/trap.c')
-rw-r--r--sys/amd64/amd64/trap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c
index ecd2edc94a80..216cf15b0bf9 100644
--- a/sys/amd64/amd64/trap.c
+++ b/sys/amd64/amd64/trap.c
@@ -57,7 +57,6 @@ __FBSDID("$FreeBSD$");
#include <sys/bus.h>
#include <sys/systm.h>
#include <sys/proc.h>
-#include <sys/pioctl.h>
#include <sys/ptrace.h>
#include <sys/kdb.h>
#include <sys/kernel.h>