Module Name: src
Committed By: kamil
Date: Wed Feb 19 17:13:00 UTC 2020
Modified Files:
src/tests/lib/libc/sys: t_ptrace_wait.c
Log Message:
Fix clang(1) build
Namespace a symbol that can be unused.
To generate a diff of this commit:
cvs rdiff -u -r1.162 -r1.163 src/tests/lib/libc/sys/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/lib/libc/sys/t_ptrace_wait.c
diff -u src/tests/lib/libc/sys/t_ptrace_wait.c:1.162 src/tests/lib/libc/sys/t_ptrace_wait.c:1.163
--- src/tests/lib/libc/sys/t_ptrace_wait.c:1.162 Thu Feb 13 15:27:41 2020
+++ src/tests/lib/libc/sys/t_ptrace_wait.c Wed Feb 19 17:13:00 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: t_ptrace_wait.c,v 1.162 2020/02/13 15:27:41 mgorny Exp $ */
+/* $NetBSD: t_ptrace_wait.c,v 1.163 2020/02/19 17:13:00 kamil Exp $ */
/*-
* Copyright (c) 2016, 2017, 2018, 2019 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: t_ptrace_wait.c,v 1.162 2020/02/13 15:27:41 mgorny Exp $");
+__RCSID("$NetBSD: t_ptrace_wait.c,v 1.163 2020/02/19 17:13:00 kamil Exp $");
#define __LEGACY_PT_LWPINFO
@@ -8948,6 +8948,7 @@ THREAD_CONCURRENT_TEST(thread_concurrent
"Verify that concurrent signals issued to a single thread are reported "
"correctly and passed back to a handler function");
+#if defined(__i386__) || defined(__x86_64__)
THREAD_CONCURRENT_TEST(thread_concurrent_breakpoints, TCSH_DISCARD,
THREAD_CONCURRENT_BREAKPOINT_NUM, 0, 0,
"Verify that concurrent breakpoints are reported correctly");
@@ -8998,6 +8999,7 @@ THREAD_CONCURRENT_TEST(thread_concurrent
THREAD_CONCURRENT_WATCHPOINT_NUM,
"Verify that concurrent breakpoints, watchpoints and signals are reported "
"correctly and passed back to a handler function");
+#endif
#endif /*defined(TWAIT_HAVE_STATUS)*/