的Andr​​oid NDK调试Andr、oid、NDK

2023-09-13 23:43:33 作者:因帅被判无妻i

而Android NDK文件似乎不是那么清楚,我为你运行的是什么命令序列来获得调试信息,以及哪些是提供的NDK-gdb的可执行文件。如果有什么线打破,以及以何种文件格式,有没有一个规范的地方?如果是这样,也,你怎么给这个调试器的信息,以及通过什么方式?我无言以对在​​各方面​​都为如何处理工作。

The Android NDK documentation doesn't seem all that clear to me as to what sequence of commands you run to get debugging information into, and out of the ndk-gdb executable which is provided. If there is a format for what lines to break on, and in what file, is there a specification somewhere? If so, also, how do you give this debugger that information, and through what means? I'm clueless in every way as to how this process works.

感谢

推荐答案

具体解决有没有一个规范的地方:

Specifically addressing "is there a specification somewhere":

NDK-gdb的基本上是传统的GDB的会谈NDK应用,广发行说明文件http://www.gnu.org/software/gdb/documentation/是命令语法最好的参考 - 它远远太大的话题,这里覆盖

ndk-gdb is basically traditional GDB that talks to NDK applications, the GDB documentation at http://www.gnu.org/software/gdb/documentation/ is the best reference for command syntax - it's far too big a topic to cover here.