Open wuxiaoqiang12 opened 3 years ago
Hi @wuxiaoqiang12 , thank for creating this issue!
The instructions in REDME.md recommend this:
b MBAAdd.cpp:MBAAdd::run
Any particular reason to use this instead:
b ../lib/MBAAdd.cpp:MBAAdd::run
? Also, there is no MBAAdd.cpp
in the lib
sub directory. That's why gdb
is failing.
It helps to type y
(i.e., yes
) as the answer to "Make breakpoint pending on future shared library load? (y or [n])" that follows "No source file named ...".
I follow your guide about how to debug using gdb on ubuntu. But my gdb cannot see the source file. I using following command:
gdb said: No source file named ../lib/MBAAdd.cpp.
(gdb) info source No current source file.
Please help me. thanks a lot