aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/include/ptrace.h
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1996-01-24 18:51:48 +0000
committerPeter Wemm <peter@FreeBSD.org>1996-01-24 18:51:48 +0000
commitbf6024ee3a0003f78916a2a0710e37f5677d5309 (patch)
treedb6ca5cb543064ec95a858319518aa8907b7804e /sys/powerpc/include/ptrace.h
parent15309069214af1c655fb1ce9758cd24745d01c24 (diff)
downloadsrc-bf6024ee3a0003f78916a2a0710e37f5677d5309.tar.gz
src-bf6024ee3a0003f78916a2a0710e37f5677d5309.zip
Add commands for ptrace get/set registers.. (Same numbers as NetBSD)
Notes
Notes: svn path=/head/; revision=13611
Diffstat (limited to 'sys/powerpc/include/ptrace.h')
-rw-r--r--sys/powerpc/include/ptrace.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/sys/powerpc/include/ptrace.h b/sys/powerpc/include/ptrace.h
index 0892b83e2606..f77fba257c57 100644
--- a/sys/powerpc/include/ptrace.h
+++ b/sys/powerpc/include/ptrace.h
@@ -31,11 +31,19 @@
* SUCH DAMAGE.
*
* @(#)ptrace.h 8.1 (Berkeley) 6/11/93
- * $Id$
+ * $Id: ptrace.h,v 1.2 1994/08/02 07:38:57 davidg Exp $
*/
+#ifndef _MACHINE_PTRACE_H_
+#define _MACHINE_PTRACE_H_
+
/*
* Machine dependent trace commands.
- *
- * None for the i386 at this time.
*/
+#define PT_GETREGS (PT_FIRSTMACH + 1)
+#define PT_SETREGS (PT_FIRSTMACH + 2)
+#define PT_GETFPREGS (PT_FIRSTMACH + 3)
+#define PT_SETFPREGS (PT_FIRSTMACH + 4)
+
+#endif
+