diff options
| author | skrll <skrll@NetBSD.org> | 2022-06-07 05:39:16 +0000 |
|---|---|---|
| committer | skrll <skrll@NetBSD.org> | 2022-06-07 05:39:16 +0000 |
| commit | 993dd8e93cbe0fc32a65cc9cfbbf9ff6b3075ca2 (patch) | |
| tree | a208782ae9c080acb0e7660c1e2e66ad53f8d279 /tests/lib/libc/sys | |
| parent | 3f08055e009ce0c4d15ee83f3743e0e3dcdf74ca (diff) | |
PR/56865: hppa: t_ptrace_core_wait test doesn't know it must advance PC after breakpoint
Add __hppa__ to the list of architectures that need to advance to the instruction
after the breakpoint
Thanks to Tom Lane for the fix.
Diffstat (limited to 'tests/lib/libc/sys')
| -rw-r--r-- | tests/lib/libc/sys/t_ptrace_core_wait.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/libc/sys/t_ptrace_core_wait.h b/tests/lib/libc/sys/t_ptrace_core_wait.h index e08ef031c86..d703608ac2c 100644 --- a/tests/lib/libc/sys/t_ptrace_core_wait.h +++ b/tests/lib/libc/sys/t_ptrace_core_wait.h @@ -1,4 +1,4 @@ -/* $NetBSD: t_ptrace_core_wait.h,v 1.5 2022/03/26 16:22:50 martin Exp $ */ +/* $NetBSD: t_ptrace_core_wait.h,v 1.6 2022/06/07 05:39:16 skrll Exp $ */ /*- * Copyright (c) 2016, 2017, 2018, 2019, 2020 The NetBSD Foundation, Inc. @@ -208,8 +208,8 @@ 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(__powerpc__) || \ - defined(__sh3__) || defined(sparc) +#if defined(__aarch64__) || defined(__arm__) || defined(__hppa___) || \ + defined(__powerpc__) || defined(__sh3__) || defined(sparc) /* * For these archs, program counter is not automatically incremented * by a trap instruction. We cannot increment PC in the trap handler, |
