Module Name: src Committed By: kamil Date: Thu Feb 23 04:48:36 UTC 2017
Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Fix build of ports without PT_STEP Fallout after PT_*DBREGS introduction. Sponsored by <The NetBSD Foundation> To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/kern/sys_ptrace_common.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/sys_ptrace_common.c diff -u src/sys/kern/sys_ptrace_common.c:1.17 src/sys/kern/sys_ptrace_common.c:1.18 --- src/sys/kern/sys_ptrace_common.c:1.17 Thu Feb 23 03:34:22 2017 +++ src/sys/kern/sys_ptrace_common.c Thu Feb 23 04:48:36 2017 @@ -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 @@ do_ptrace(struct ptrace_methods *ptm, st { 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;