Issue
Platform is Mac, Using NDK r11b
, my application consists of around 8 c/c++ so files. In the past I've used ndk-gdb (sh) script via NDK r10e. the shell script is now deprecated and ndk-gdb.py
is now the only option. Problem is I can't get it to work. I'm running it from my project folder as I've always done.
I've tried multiple command line options with no luck. It feels like it isn't finding my source files. It launches the application with the "Waiting for Debugger"
. I get to the (gdb) prompt
. I've tried adding breakpoints with no luck breaking at reliable interrupt points.
I need some pointers as to how to configure and use the python version for ndk-gdb. Google has removed the documentation files and I can't find anything anywhere that suffices as a guide.
Some command lines I've tried.
ndk-gdb --launch --verbose
This launches the application but blocks on Waiting for debugger
ndk-gdb
will attach to a running process. ctr-c will pause the execution but a back trace bt
lists a corrupt stack.
ndk-gdb --launch -t -v -p $ProjectDir
I get a new interface I'm not familiar with and it states [ No Source Available ]
Any help or insight would be appreciated
Solution
This issue was posted to the https://github.com/android-ndk/ndk/issues site that Mikhail provided. The issue was assigned and claimed fixed: Resolution will be propagated in NDK r11c;
https://github.com/android-ndk/ndk/issues/51
additionally I updated to R11c. everything is now working
Answered By - rabidcat
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.