半年前写了一篇文章,介绍 如何调试Android Framework,但是只提到了Framework中Java代码的调试办法,但实际上有很多代码都是用C++ ...
Drop the two files in your project, make sure nala.c is compiled and linked just like the other source files of your test program and you should be good to go. Build and run all tests with make -s -C ...