reference 1. Compile use -g flag g++ -g -gstabs+ a.cpp -o a # -gstabs+ is useful when some symbols in the .cpp are optimized 2. Add .gdbinit Copy the file into ~/.gdbinit Existing bug: pmap Does not work correctly on Ubuntu-x64 赞微海报分享
近期评论