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 of ports without PT_STEP
details: https://anonhg.NetBSD.org/src/rev/26cf6e8de7c5
branches: trunk
changeset: 351704:26cf6e8de7c5
user: kamil <kamil%NetBSD.org@localhost>
date: Thu Feb 23 04:48:36 2017 +0000
description:
Fix build of ports without PT_STEP
Fallout after PT_*DBREGS introduction.
Sponsored by <The NetBSD Foundation>
diffstat:
sys/kern/sys_ptrace_common.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r a0dd6144d830 -r 26cf6e8de7c5 sys/kern/sys_ptrace_common.c
--- a/sys/kern/sys_ptrace_common.c Thu Feb 23 03:48:20 2017 +0000
+++ b/sys/kern/sys_ptrace_common.c Thu Feb 23 04:48:36 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sys_ptrace_common.c,v 1.17 2017/02/23 03:34:22 kamil Exp $ */
+/* $NetBSD: sys_ptrace_common.c,v 1.18 2017/02/23 04:48:36 kamil Exp $ */
/*-
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -118,7 +118,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sys_ptrace_common.c,v 1.17 2017/02/23 03:34:22 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sys_ptrace_common.c,v 1.18 2017/02/23 04:48:36 kamil Exp $");
#ifdef _KERNEL_OPT
#include "opt_ptrace.h"
@@ -297,9 +297,7 @@
{
struct proc *p = l->l_proc;
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