Module Name:    src
Committed By:   skrll
Date:           Tue Jun  7 05:39:16 UTC 2022

Modified Files:
        src/tests/lib/libc/sys: t_ptrace_core_wait.h

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 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.5 src/tests/lib/libc/sys/t_ptrace_core_wait.h:1.6
--- src/tests/lib/libc/sys/t_ptrace_core_wait.h:1.5	Sat Mar 26 16:22:50 2022
+++ src/tests/lib/libc/sys/t_ptrace_core_wait.h	Tue Jun  7 05:39:16 2022
@@ -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,

Reply via email to