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/543b57b98911
branches:  trunk
changeset: 819241:543b57b98911
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 33900e4d930f -r 543b57b98911 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