summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-03-16 00:25:53 +0000
committerdes <des@FreeBSD.org>2002-03-16 00:25:53 +0000
commita03210978269ae79b23f43906fdd263b47570ca6 (patch)
treeaf078b55d89d3883387bac27734cecf68a979446 /sys/alpha
parent06009e09a585c37ff8991c7fb12883e676e2d414 (diff)
downloadFreeBSD-src-a03210978269ae79b23f43906fdd263b47570ca6.zip
FreeBSD-src-a03210978269ae79b23f43906fdd263b47570ca6.tar.gz
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).
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/include/ptrace.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/alpha/include/ptrace.h b/sys/alpha/include/ptrace.h
index 87a03af..93684b2 100644
--- a/sys/alpha/include/ptrace.h
+++ b/sys/alpha/include/ptrace.h
@@ -37,17 +37,8 @@
#ifndef _MACHINE_PTRACE_H_
#define _MACHINE_PTRACE_H_
-/*
- * Machine dependent trace commands.
- */
-#define PT_GETREGS (PT_FIRSTMACH + 1)
-#define PT_SETREGS (PT_FIRSTMACH + 2)
-#define PT_GETFPREGS (PT_FIRSTMACH + 3)
-#define PT_SETFPREGS (PT_FIRSTMACH + 4)
-
-#define FIX_SSTEP(p) ptrace_clear_single_step(p)
-
#ifdef _KERNEL
+#define FIX_SSTEP(p) ptrace_clear_single_step(p)
int ptrace_clear_single_step(struct thread *_p);
#endif
OpenPOWER on IntegriCloud