Yep this is something I have looked into before as well and a ticket with some discussion I had opened.
https://github.com/apache/incubator-nuttx/issues/2028 It's something I will probably revisit sometime, but not something I am actively working on. --Brennan On Fri, Jan 14, 2022, 4:02 PM Gregory Nutt <spudan...@gmail.com> wrote: > Yes you would have to implement ptrace. > > On Fri, Jan 14, 2022 at 5:59 PM xyluo <xyluo...@sina.com> wrote: > > > Hello, > > Some times it is useful to debug application via ethernet based on > > standard gdb protocol. But currently the gdb or gdb-stub was not found in > > nuttx's apps tarball. If gdb-stub would be ported to nuttx as a user > > program, what else need to be done to support this scheme? and can nuttx > > provide the functions required by gdb-stub? It seems that nuttx does not > > provide the system call 'ptrace'. > > Best regards,xyluo >