summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorjdolecek <jdolecek@NetBSD.org>2000-11-01 21:02:08 +0000
committerjdolecek <jdolecek@NetBSD.org>2000-11-01 21:02:08 +0000
commit8d9bc8494cd9d9e1bb32a0c6c2c1412efbd8382d (patch)
treeceea1de74a4d549bf238863a3d06ee9846c35afd /sys/compat/linux
parent7b1d98353d16d810f4e8db8247e7093f52f32848 (diff)
move definition of LINUX_PTRACE_{SET|GET}(FP)REGS flags to
sys/compat/linux/common/linux_ptrace.h, they seem to be actually MI
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/arch/i386/linux_ptrace.c7
-rw-r--r--sys/compat/linux/common/linux_ptrace.h6
2 files changed, 6 insertions, 7 deletions
diff --git a/sys/compat/linux/arch/i386/linux_ptrace.c b/sys/compat/linux/arch/i386/linux_ptrace.c
index 3d4209a4e02..2880798b038 100644
--- a/sys/compat/linux/arch/i386/linux_ptrace.c
+++ b/sys/compat/linux/arch/i386/linux_ptrace.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_ptrace.c,v 1.3 1999/12/16 15:11:19 tron Exp $ */
+/* $NetBSD: linux_ptrace.c,v 1.4 2000/11/01 21:02:08 jdolecek Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -55,11 +55,6 @@
#include <compat/linux/linux_syscallargs.h>
-#define LINUX_PTRACE_GETREGS 12
-#define LINUX_PTRACE_SETREGS 13
-#define LINUX_PTRACE_GETFPREGS 14
-#define LINUX_PTRACE_SETFPREGS 15
-
struct linux_reg {
long ebx;
long ecx;
diff --git a/sys/compat/linux/common/linux_ptrace.h b/sys/compat/linux/common/linux_ptrace.h
index 937f171e50a..2c99a269d10 100644
--- a/sys/compat/linux/common/linux_ptrace.h
+++ b/sys/compat/linux/common/linux_ptrace.h
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_ptrace.h,v 1.2 1999/12/16 15:09:49 tron Exp $ */
+/* $NetBSD: linux_ptrace.h,v 1.3 2000/11/01 21:02:09 jdolecek Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -49,6 +49,10 @@
#define LINUX_PTRACE_CONT 7
#define LINUX_PTRACE_KILL 8
#define LINUX_PTRACE_SINGLESTEP 9
+#define LINUX_PTRACE_GETREGS 12
+#define LINUX_PTRACE_SETREGS 13
+#define LINUX_PTRACE_GETFPREGS 14
+#define LINUX_PTRACE_SETFPREGS 15
#define LINUX_PTRACE_ATTACH 16
#define LINUX_PTRACE_DETACH 17
#define LINUX_PTRACE_SYSCALL 24