Re: riscv64 ptrace(2) tweaks

2021-09-03 Thread Jeremie Courreges-Anglas
On Fri, Sep 03 2021, Mark Kettenis wrote: >> From: Jeremie Courreges-Anglas >> Date: Fri, 03 Sep 2021 14:32:26 +0200 >> >> Two changes that would be useful: >> - enable PT_*FPREGS, Mark has already done the job. >> - hide PT_STEP since hardware support seems missing (the spec only talks >> ab

Re: riscv64 ptrace(2) tweaks

2021-09-03 Thread Mark Kettenis
> From: Jeremie Courreges-Anglas > Date: Fri, 03 Sep 2021 14:32:26 +0200 > > Two changes that would be useful: > - enable PT_*FPREGS, Mark has already done the job. > - hide PT_STEP since hardware support seems missing (the spec only talks > about single stepping support in "Debug mode", which

riscv64 ptrace(2) tweaks

2021-09-03 Thread Jeremie Courreges-Anglas
Two changes that would be useful: - enable PT_*FPREGS, Mark has already done the job. - hide PT_STEP since hardware support seems missing (the spec only talks about single stepping support in "Debug mode", which is not "Machine" or "Supervisor" mode). Since we don't emulate it (like mips64 f