1.死机后,输入:
info threads ------- 查看所有thread信息
2. thread apply all bt
info threads ------- 查看所有thread信息
2. thread apply all bt
显示所有的线程堆栈
3. thread apply 1 bt
显示ID为1的线程堆栈
本文介绍了使用GDB进行调试时的一些实用命令,包括查看所有线程信息、显示所有线程堆栈及特定线程堆栈的方法。
2212

被折叠的 条评论
为什么被折叠?



