From 945d0db76ff371ae455df11ceabfcc76f4985538 Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 24 Jan 1996 18:51:48 +0000 Subject: Add commands for ptrace get/set registers.. (Same numbers as NetBSD) --- sys/i386/include/ptrace.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'sys/i386/include/ptrace.h') 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 + -- cgit v1.1