GDB调试命令大全
gdb --pid 1235
gdb core.1234
where (bt) //where the segmentation fault occurred
f 1 //切换栈帧
info locals //打印内存
WinDBG调试技巧
.ecxr command displays the context record
Debug tool 学习笔记
原文:http://www.cnblogs.com/awiki/p/7614777.html