0

我有一个来自 dalvik 进程的核心转储(它是 com.android.browser)。我绝对知道,该进程在 JNI 模块中的某处被终止。

另外,我有该设备的所有调试符号。但我不能为此核心转储调用 gdb。我正在尝试这样:

arm-eabi-gdb ../symbols/system/bin/dalvikvm android.browser_5879_1354575922.core

但 gdb 说:

warning: core file may not match specified executable file.
.....
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
Core was generated by `com.android.browser'          
Program terminated with signal 11, Segmentation fault.

所以(gdb) info sharedlibrary什么都不显示:

No shared libraries loaded at this time.

如何正确加载 dalvikvm 进程的 coredump?

4

1 回答 1

0

好的,答案是提供 app_process 作为图像名称:

arm-eabi-gdb 符号/系统/bin/ app_process android.browser_5879_1354575922.core

于 2012-12-13T21:09:51.857 回答