gdb在c++程序里设置断点

原来需要写出完整的函数名,从namespace开始
比如ost::ScriptCommand::getMember
不需要用mangle过的名字

有时候可能需要执行
set language c++

reference:
http://sources.redhat.com/ml/gdb/2005-07/msg00066.html

Comments

Popular posts from this blog

Ripple's XRP: Giving the Third-Largest Cryptocurrency a Second Look

Illinois Is Venezuela and the Solution Is Cryptocurrency