如何在 main 之前调试崩溃? [英] How to debug a crash before main?
本文介绍了如何在 main 之前调试崩溃?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的程序静态链接到许多库并在进入 gdb 中的 main 之前崩溃.如何诊断问题所在?
My program links statically to many libraries and crashes before getting to main in gdb. How do i diagnose what the problem is?
推荐答案
开始一个一个地取出库,直到它停止崩溃.然后检查罪魁祸首.
Start taking the libraries out one by one until it stops crashing. Then examine the culprit.
这篇关于如何在 main 之前调试崩溃?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文