Module Name: src Committed By: rin Date: Sat Jun 29 07:10:27 UTC 2024
Modified Files: src/tests/lib/libc/sys: t_ptrace_core_wait.h Log Message: core_dump_procinfo: Fix false positive for vax Increment PC after trapped by `bpt`, as done for many other platforms. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 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.8 src/tests/lib/libc/sys/t_ptrace_core_wait.h:1.9 --- src/tests/lib/libc/sys/t_ptrace_core_wait.h:1.8 Thu Aug 24 05:55:25 2023 +++ src/tests/lib/libc/sys/t_ptrace_core_wait.h Sat Jun 29 07:10:27 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: t_ptrace_core_wait.h,v 1.8 2023/08/24 05:55:25 rin Exp $ */ +/* $NetBSD: t_ptrace_core_wait.h,v 1.9 2024/06/29 07:10:27 rin Exp $ */ /*- * Copyright (c) 2016, 2017, 2018, 2019, 2020 The NetBSD Foundation, Inc. @@ -210,7 +210,7 @@ ATF_TC_BODY(core_dump_procinfo, tc) #if defined(__aarch64__) || defined(__arm__) || defined(__hppa__) || \ defined(__powerpc__) || defined(__riscv__) || defined(__sh3__) || \ - defined(sparc) + defined(sparc) || defined(__vax__) /* * For these archs, program counter is not automatically incremented * by a trap instruction. We cannot increment PC in the trap handler,