Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Aug 2023 20:36:40 GMT
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 685f0d228395 - stable/13 - tests: also remove sparc64 case
Message-ID:  <202308062036.376Kae8C042935@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by marius:

URL: https://cgit.FreeBSD.org/src/commit/?id=685f0d228395bc1074ebef998832176d5186bd15

commit 685f0d228395bc1074ebef998832176d5186bd15
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-11-08 18:14:55 +0000
Commit:     Marius Strobl <marius@FreeBSD.org>
CommitDate: 2023-08-06 18:52:57 +0000

    tests: also remove sparc64 case
    
    (cherry picked from commit 185efcc376b9dcb3b920d1053a250ac754ad163a)
---
 tests/sys/kern/ptrace_test.c | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/tests/sys/kern/ptrace_test.c b/tests/sys/kern/ptrace_test.c
index 2657d8b18ce6..1e917d6e1935 100644
--- a/tests/sys/kern/ptrace_test.c
+++ b/tests/sys/kern/ptrace_test.c
@@ -59,8 +59,7 @@ __FBSDID("$FreeBSD$");
  * Architectures with a user-visible breakpoint().
  */
 #if defined(__aarch64__) || defined(__amd64__) || defined(__arm__) ||	\
-    defined(__i386__) || defined(__mips__) || defined(__riscv) ||	\
-    defined(__sparc64__)
+    defined(__i386__) || defined(__mips__) || defined(__riscv)
 #define	HAVE_BREAKPOINT
 #endif
 
@@ -78,11 +77,6 @@ __FBSDID("$FreeBSD$");
 #define	SKIP_BREAK(reg)	((reg)->r_regs[PC] += 4)
 #elif defined(__riscv)
 #define	SKIP_BREAK(reg)	((reg)->sepc += 4)
-#elif defined(__sparc64__)
-#define	SKIP_BREAK(reg)	do {						\
-	(reg)->r_tpc = (reg)->r_tnpc + 4;				\
-	(reg)->r_tnpc += 8;						\
-} while (0)
 #endif
 #endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308062036.376Kae8C042935>