diff options
author | Peter Wemm <peter@FreeBSD.org> | 1996-01-24 18:51:48 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 1996-01-24 18:51:48 +0000 |
commit | bf6024ee3a0003f78916a2a0710e37f5677d5309 (patch) | |
tree | db6ca5cb543064ec95a858319518aa8907b7804e /sys/powerpc/include/ptrace.h | |
parent | 15309069214af1c655fb1ce9758cd24745d01c24 (diff) | |
download | src-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.h | 14 |
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 + |