git: 185efcc376b9 - main - tests: also remove sparc64 case
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 08 Nov 2022 23:55:11 UTC
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=185efcc376b9dcb3b920d1053a250ac754ad163a commit 185efcc376b9dcb3b920d1053a250ac754ad163a Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2022-11-08 18:14:55 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2022-11-08 23:55:00 +0000 tests: also remove sparc64 case Followup to commit d6273acf5625, which removed MIPS. Reported by: mhorne --- tests/sys/kern/ptrace_test.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/tests/sys/kern/ptrace_test.c b/tests/sys/kern/ptrace_test.c index 248eb7f31f48..129a9dc3781c 100644 --- a/tests/sys/kern/ptrace_test.c +++ b/tests/sys/kern/ptrace_test.c @@ -59,7 +59,7 @@ __FBSDID("$FreeBSD$"); * Architectures with a user-visible breakpoint(). */ #if defined(__aarch64__) || defined(__amd64__) || defined(__arm__) || \ - defined(__i386__) || defined(__riscv) || defined(__sparc64__) + defined(__i386__) || defined(__riscv) #define HAVE_BREAKPOINT #endif @@ -75,11 +75,6 @@ __FBSDID("$FreeBSD$"); #define SKIP_BREAK(reg) ((reg)->r_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