Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/linux/common Enable PowerPC Linux ptrace() emulation



details:   https://anonhg.NetBSD.org/src/rev/f6673e5bdb92
branches:  trunk
changeset: 510220:f6673e5bdb92
user:      manu <manu%NetBSD.org@localhost>
date:      Tue May 22 21:11:54 2001 +0000

description:
Enable PowerPC Linux ptrace() emulation

diffstat:

 sys/compat/linux/common/linux_ptrace.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 2c63b11d9067 -r f6673e5bdb92 sys/compat/linux/common/linux_ptrace.h
--- a/sys/compat/linux/common/linux_ptrace.h    Tue May 22 21:09:20 2001 +0000
+++ b/sys/compat/linux/common/linux_ptrace.h    Tue May 22 21:11:54 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_ptrace.h,v 1.3 2000/11/01 21:02:09 jdolecek Exp $        */
+/*     $NetBSD: linux_ptrace.h,v 1.4 2001/05/22 21:11:54 manu Exp $    */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -57,11 +57,11 @@
 #define LINUX_PTRACE_DETACH            17
 #define LINUX_PTRACE_SYSCALL           24
 
-#if defined(__i386__)
+#if defined(__i386__) || defined (__powerpc__)
 int linux_sys_ptrace_arch __P((struct proc *, void *, register_t *));
 
 #define LINUX_SYS_PTRACE_ARCH(p,v,r)   linux_sys_ptrace_arch((p),(v),(r))
-#else
+#else 
 #define LINUX_SYS_PTRACE_ARCH(p,v,r)   EIO
 #endif
 



Home | Main Index | Thread Index | Old Index