Module Name:    src
Committed By:   kamil
Date:           Thu Nov 24 04:11:16 UTC 2016

Modified Files:
        src/tests/kernel: t_ptrace_wait.c

Log Message:
Drop unwanted printf(3) call in regs5 in t_ptrace

This call is reserved for other test.

Sponsored by <The NetBSD Foundation>


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 src/tests/kernel/t_ptrace_wait.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/kernel/t_ptrace_wait.c
diff -u src/tests/kernel/t_ptrace_wait.c:1.28 src/tests/kernel/t_ptrace_wait.c:1.29
--- src/tests/kernel/t_ptrace_wait.c:1.28	Thu Nov 24 04:08:37 2016
+++ src/tests/kernel/t_ptrace_wait.c	Thu Nov 24 04:11:16 2016
@@ -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 @@ ATF_TC_BODY(regs5, tc)
 	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);

Reply via email to