开发者

Is it possible to add support of a custom RTOS's threads to GDB?

In the scenario of debugging a remote target running a custom RTOS, what would be necessary to add thread support to GDB?

In my case I have access to the RTOS sources and debug info for all its scheduler's symbols, so theoretically the information is accessible.

Would this imply recompiling GDB? Adding hooks to thread-rel开发者_开发问答ated commands?

Any commentary will be greatly appreciated!


You need to add thread support (and in particular, support for H and qXfer:threads:read packets) for your gdb RTOS stub. Documentation here and here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜