gdb调试工具

调试正在运行的程序

1.gdb 你的程序 程序pid

2.查core:gdb 你的程序 core文件

原文地址:https://www.cnblogs.com/wy0526/p/15773737.html