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

2021-02-09 Thread kernel test robot
Hi Tiezhu, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v5.11-rc6 next-20210125] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documen

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

2021-02-08 Thread 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 function can not work w