Module Name: src
Committed By: skrll
Date: Thu Jun 9 17:39:21 UTC 2022
Modified Files:
src/tests/lib/libc/sys: t_ptrace_core_wait.h
Log Message:
There are two hard problems in computer science cache invalidation, naming
and off-by-one errors.
Fix a naming and off-by-one bug... Thanks to Tom Lane for spotting my typo.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/tests/lib/libc/sys/t_ptrace_core_wait.h
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_core_wait.h
diff -u src/tests/lib/libc/sys/t_ptrace_core_wait.h:1.6 src/tests/lib/libc/sys/t_ptrace_core_wait.h:1.7
--- src/tests/lib/libc/sys/t_ptrace_core_wait.h:1.6 Tue Jun 7 05:39:16 2022
+++ src/tests/lib/libc/sys/t_ptrace_core_wait.h Thu Jun 9 17:39:21 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: t_ptrace_core_wait.h,v 1.6 2022/06/07 05:39:16 skrll Exp $ */
+/* $NetBSD: t_ptrace_core_wait.h,v 1.7 2022/06/09 17:39:21 skrll Exp $ */
/*-
* Copyright (c) 2016, 2017, 2018, 2019, 2020 The NetBSD Foundation, Inc.
@@ -208,7 +208,7 @@ ATF_TC_BODY(core_dump_procinfo, tc)
DPRINTF("Before resuming the child process where it left off and "
"without signal to be sent\n");
-#if defined(__aarch64__) || defined(__arm__) || defined(__hppa___) || \
+#if defined(__aarch64__) || defined(__arm__) || defined(__hppa__) || \
defined(__powerpc__) || defined(__sh3__) || defined(sparc)
/*
* For these archs, program counter is not automatically incremented