summaryrefslogtreecommitdiffstats
path: root/sys/powerpc
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1996-01-24 18:51:48 +0000
committerpeter <peter@FreeBSD.org>1996-01-24 18:51:48 +0000
commit945d0db76ff371ae455df11ceabfcc76f4985538 (patch)
treedb6ca5cb543064ec95a858319518aa8907b7804e /sys/powerpc
parent8e4035cf4044f7c758501b6669574117260817c8 (diff)
downloadFreeBSD-src-945d0db76ff371ae455df11ceabfcc76f4985538.zip
FreeBSD-src-945d0db76ff371ae455df11ceabfcc76f4985538.tar.gz
Add commands for ptrace get/set registers.. (Same numbers as NetBSD)
Diffstat (limited to 'sys/powerpc')
-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 0892b83..f77fba2 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
+
OpenPOWER on IntegriCloud