摘要: 将GDB中的输出定向到文件原文:http://blog.csdn.net/ariesjzj/article/details/7419479有时候输出信息太长,屏放不下,下面介绍两种将gdb的输出信息存到文件的方法。方法一:适合临时向文件输出些信息的情况。比如要用info functions输出所有函数,结果往往有一大坨,所以可以将之输出到文件。(gdb) set logging file <file name>(gdb) set logging on(gdb) info functions(gdb) set logging offhttp://hellogcc.blogbus.co 阅读全文
posted @ 2013-01-07 15:54 I_O_S 阅读(615) 评论(0) 推荐(0) 编辑
摘要: 原文:http://steike.com/code/debugging-itunes-with-gdb/调试itunes时,设置端点到<dyld_stub_ptrace>,然后run。触发端点后return,然后con。完事大吉!!!附原文:Debugging iTunes with GDBIt's occasionally useful to run iTunes under GDB without having it bomb out with a 'code 055' or having gdb segfault.Why can't you j 阅读全文
posted @ 2013-01-07 15:44 I_O_S 阅读(894) 评论(0) 推荐(0) 编辑