开发者

arm-eabi-addr2line don't show line number

I am running the arm-eabi-addr2line for my Android project, my开发者_运维百科 command is

/Applications/android-sdk-mac_86/android-ndk-r5b/toolchains/arm-eabi-4.4.0/prebuilt/darwin-x86/bin/arm-eabi-addr2line -C -f -e {my so file} {address}

and found that it always only return the function name but don't show line number, e.g,

XXX::XXX::XXX()
??:0 

any idea?


Do you have debugging symbols in your .so? You should also disable optimization (-O0) and inline functions (-fno-inline)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜