diff options
author | peter <peter@FreeBSD.org> | 1996-01-24 18:51:48 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-01-24 18:51:48 +0000 |
commit | 945d0db76ff371ae455df11ceabfcc76f4985538 (patch) | |
tree | db6ca5cb543064ec95a858319518aa8907b7804e /sys/i386 | |
parent | 8e4035cf4044f7c758501b6669574117260817c8 (diff) | |
download | FreeBSD-src-945d0db76ff371ae455df11ceabfcc76f4985538.zip FreeBSD-src-945d0db76ff371ae455df11ceabfcc76f4985538.tar.gz |
Add commands for ptrace get/set registers.. (Same numbers as NetBSD)
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/include/ptrace.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/sys/i386/include/ptrace.h b/sys/i386/include/ptrace.h index 0892b83..f77fba2 100644 --- a/sys/i386/include/ptrace.h +++ b/sys/i386/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 + |