Re: [PATCH v2 RESEND] MIPS: Add basic support for ptrace single step

2021-02-13 Thread Thomas Bogendoerfer
On Sat, Feb 13, 2021 at 02:20:46AM +0800, Tiezhu Yang wrote: > From: Tiezhu Yang > > In the current code, arch_has_single_step() is not defined on MIPS, > that means MIPS does not support instruction single-step for user mode. > > Delve is a debugger for the Go programming language, the ptrace s

[PATCH v2 RESEND] MIPS: Add basic support for ptrace single step

2021-02-12 Thread Tiezhu Yang
From: Tiezhu Yang In the current code, arch_has_single_step() is not defined on MIPS, that means MIPS does not support instruction single-step for user mode. Delve is a debugger for the Go programming language, the ptrace syscall PtraceSingleStep() failed [1] on MIPS and then the single step fun