Oopenvela-robottools/pynuttx: add gdbrpc library for remote GDB debugging
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
tools/pynuttx: add gdbrpc library for remote GDB debugging Execute source /path/to/gdbinit.py and gdbrpc start to open a socket port for listening to commands. Then execute ./path/to/gdbrpc/__main__.py in another terminal to connect to corresponding port for debugging. Alternatively, you can write a Python script to establish a connection and serialize a callable object, the server will execute it. This process is mainly used in scenarios where other programs need to be involved in debugging, such as VTF or MCP. You can reference the examples to learn about it. Signed-off-by: guoshengyuan1 <guoshengyuan1@xiaomi.com> | 2 个月前 |