This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM DS-5 Tutorial For Android

Note: This was originally posted on 5th December 2011 at http://forums.arm.com

Hi,

I've created a step by step blog post for using DS-5 as debugger tool for Android http://kernel.ozandroid.info/?p=83

Hope this is useful for others.

Cheers
Parents
  • Note: This was originally posted on 19th December 2011 at http://forums.arm.com


    did u add "LOCAL_CFLAGS += -g" in your jni/Android.mk ?

    No, I haven't added it, as (I think) it's not needed, as in my AndroidManifest.xml I have android:debuggable="true". I've also tested now with "LOCAL_CFLAGS += -g", and no difference.
    Most time when I use "Download and debug an Android application" I do get error "[1]   Segmentation fault      run-as com.examp..." (it's as I think form gdbserver)

    But debugging works on SGS2 now with some "special" taken actions (as in my post from 17 December 2011 - 03:26 PM).
Reply
  • Note: This was originally posted on 19th December 2011 at http://forums.arm.com


    did u add "LOCAL_CFLAGS += -g" in your jni/Android.mk ?

    No, I haven't added it, as (I think) it's not needed, as in my AndroidManifest.xml I have android:debuggable="true". I've also tested now with "LOCAL_CFLAGS += -g", and no difference.
    Most time when I use "Download and debug an Android application" I do get error "[1]   Segmentation fault      run-as com.examp..." (it's as I think form gdbserver)

    But debugging works on SGS2 now with some "special" taken actions (as in my post from 17 December 2011 - 03:26 PM).
Children
No data