diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2021-09-03 14:13:07 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2021-09-03 14:13:07 +0000 |
commit | eadb6dacc52c21dd8ea59fac813f1e2b80cd1b3c (patch) | |
tree | 32afb8c72c095ae06a7736d10275148d6bc7dbd9 /sys | |
parent | 16e834391955f0a0719181d89e712235de74f2eb (diff) |
Don't pretend we support PT_STEP on this architecture.
The RISC-V doesn't seem to provide hardware support for generic purpose
single stepping, and we're not emulating single stepping for riscv64
like we do for alpha or mips64. Hiding PT_STEP makes it possible to run
inferior processes with a wip ports/devel/gdb update.
ok kettenis@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/riscv64/include/ptrace.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/riscv64/include/ptrace.h b/sys/arch/riscv64/include/ptrace.h index 5b0aeb455b4..8d20cf3cf43 100644 --- a/sys/arch/riscv64/include/ptrace.h +++ b/sys/arch/riscv64/include/ptrace.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ptrace.h,v 1.3 2021/09/03 14:09:26 jca Exp $ */ +/* $OpenBSD: ptrace.h,v 1.4 2021/09/03 14:13:06 jca Exp $ */ /* * Copyright (c) 2014 Patrick Wildt <patrick@blueri.se> @@ -16,7 +16,9 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#if 0 #define PT_STEP (PT_FIRSTMACH + 0) +#endif #define PT_GETREGS (PT_FIRSTMACH + 1) #define PT_SETREGS (PT_FIRSTMACH + 2) #define PT_GETFPREGS (PT_FIRSTMACH + 3) |