Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在调试运行自定义 RTOS 的远程目标的场景中,需要向 GDB 添加线程支持吗?
就我而言,我可以访问所有调度程序符号的 RTOS 源和调试信息,因此理论上这些信息是可访问的。
这是否意味着重新编译 GDB?向线程相关的命令添加钩子?
任何评论将不胜感激!
您需要为您的 gdb RTOS 存根添加线程支持(特别是对数据包的支持H) 。此处和此处qXfer:threads:read的文档。
H
qXfer:threads:read