Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/kernel Drop unwanted printf(3) call in regs5 in t_ptrace
details: https://anonhg.NetBSD.org/src/rev/4684ab9093cc
branches: trunk
changeset: 349099:4684ab9093cc
user: kamil <kamil%NetBSD.org@localhost>
date: Thu Nov 24 04:11:16 2016 +0000
description:
Drop unwanted printf(3) call in regs5 in t_ptrace
This call is reserved for other test.
Sponsored by <The NetBSD Foundation>
diffstat:
tests/kernel/t_ptrace_wait.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r babd77f77186 -r 4684ab9093cc tests/kernel/t_ptrace_wait.c
--- a/tests/kernel/t_ptrace_wait.c Thu Nov 24 04:08:37 2016 +0000
+++ b/tests/kernel/t_ptrace_wait.c Thu Nov 24 04:11:16 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_ptrace_wait.c,v 1.28 2016/11/24 04:08:37 kamil Exp $ */
+/* $NetBSD: t_ptrace_wait.c,v 1.29 2016/11/24 04:11:16 kamil Exp $ */
/*-
* Copyright (c) 2016 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_ptrace_wait.c,v 1.28 2016/11/24 04:08:37 kamil Exp $");
+__RCSID("$NetBSD: t_ptrace_wait.c,v 1.29 2016/11/24 04:11:16 kamil Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -4323,8 +4323,6 @@
printf("Call SETREGS for the child process (without changed regs)\n");
ATF_REQUIRE(ptrace(PT_GETREGS, child, &r, 0) != -1);
- printf("Retrieved SP=%" PRIxREGISTER "\n", PTRACE_REG_SP(&r));
-
printf("Before resuming the child process where it left off and "
"without signal to be sent\n");
ATF_REQUIRE(ptrace(PT_CONTINUE, child, (void *)1, 0) != -1);
Home |
Main Index |
Thread Index |
Old Index