Android Stack Debug--Details

Source: Internet
Author: User

1. Add the path to the Arm-linux-androideabi-addr2line executable file in the NDK to the configuration file ~/.BASHRC, for example:

Export path= $PATH: ~/dlna/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin

2. Make the configuration effective: source ~/.BASHRC

3. Use the tool. Example: Arm-linux-androideabi-addr2line-c-f-e ~/workspace/dlna/libs/armeabi/libctrlpt.so 0003deb4

Where 0003DEB4 is the value of the PC in the stack information.

4, in fact, can also not configure the environment, directly./arm-linux-androideabi-addr2line-c-f-e ~/workspace/dlna/libs/armeabi/libctrlpt.so 0003deb4

Android Stack Debug--Details

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.