aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/ptrace.h
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2002-03-16 00:25:53 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2002-03-16 00:25:53 +0000
commita2e0658045625ad772d6de1578fc13c05f5758bb (patch)
treeaf078b55d89d3883387bac27734cecf68a979446 /sys/sys/ptrace.h
parent957d4e317ad5d4615da81313b16aef2f3873dc37 (diff)
downloadsrc-a2e0658045625ad772d6de1578fc13c05f5758bb.tar.gz
src-a2e0658045625ad772d6de1578fc13c05f5758bb.zip
Move the definition of PT_[GS]ET{,DB,FP}REGS from the MD ptrace.h to the
MI ptrace.h, since all platforms define them. Keep the MD ptrace.h around for FIX_SSTEP (which is currently only needed on Alpha).
Notes
Notes: svn path=/head/; revision=92383
Diffstat (limited to 'sys/sys/ptrace.h')
-rw-r--r--sys/sys/ptrace.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/sys/ptrace.h b/sys/sys/ptrace.h
index 5c95ec1e5ea1..250f2e2a8777 100644
--- a/sys/sys/ptrace.h
+++ b/sys/sys/ptrace.h
@@ -51,7 +51,14 @@
#define PT_ATTACH 10 /* trace some running process */
#define PT_DETACH 11 /* stop tracing a process */
-#define PT_FIRSTMACH 32 /* for machine-specific requests */
+#define PT_GETREGS 33 /* get general-purpose registers */
+#define PT_SETREGS 34 /* set general-purpose registers */
+#define PT_GETFPREGS 35 /* get floating-point registers */
+#define PT_SETFPREGS 36 /* set floating-point registers */
+#define PT_GETDBREGS 37 /* get debugging registers */
+#define PT_SETDBREGS 38 /* set debugging registers */
+
+#define PT_FIRSTMACH 64 /* for machine-specific requests */
#include <machine/ptrace.h> /* machine-specific requests, if any */
#ifdef _KERNEL