Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern fix build for ports that don't have PT_STEP (Havard...
details: https://anonhg.NetBSD.org/src/rev/17c3c6b10076
branches: trunk
changeset: 753703:17c3c6b10076
user: christos <christos%NetBSD.org@localhost>
date: Wed Apr 07 13:10:46 2010 +0000
description:
fix build for ports that don't have PT_STEP (Havard Eidnes)
diffstat:
sys/kern/sys_process.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 33e78518b4b1 -r 17c3c6b10076 sys/kern/sys_process.c
--- a/sys/kern/sys_process.c Wed Apr 07 12:58:33 2010 +0000
+++ b/sys/kern/sys_process.c Wed Apr 07 13:10:46 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_process.c,v 1.154 2010/04/06 13:50:22 christos Exp $ */
+/* $NetBSD: sys_process.c,v 1.155 2010/04/07 13:10:46 christos Exp $ */
/*-
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -118,7 +118,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_process.c,v 1.154 2010/04/06 13:50:22 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_process.c,v 1.155 2010/04/07 13:10:46 christos Exp $");
#include "opt_ptrace.h"
#include "opt_ktrace.h"
@@ -227,7 +227,10 @@
syscallarg(int) data;
} */
struct proc *p = l->l_proc;
- struct lwp *lt, *lt2;
+ struct lwp *lt;
+#ifdef PT_STEP
+ struct lwp *lt2;
+#endif
struct proc *t; /* target process */
struct uio uio;
struct iovec iov;
Home |
Main Index |
Thread Index |
Old Index