Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libc/sys PR/56865: hppa: t_ptrace_core_wait test d...



details:   https://anonhg.NetBSD.org/src/rev/5c22963ea102
branches:  trunk
changeset: 366677:5c22963ea102
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue Jun 07 05:39:16 2022 +0000

description:
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:

 tests/lib/libc/sys/t_ptrace_core_wait.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 1a29418d463b -r 5c22963ea102 tests/lib/libc/sys/t_ptrace_core_wait.h
--- a/tests/lib/libc/sys/t_ptrace_core_wait.h   Tue Jun 07 04:12:10 2022 +0000
+++ b/tests/lib/libc/sys/t_ptrace_core_wait.h   Tue Jun 07 05:39:16 2022 +0000
@@ -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 @@
        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,



Home | Main Index | Thread Index | Old Index