Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
ARM DS-5 Tutorial For Android
Jump...
Cancel
Locked
Locked
Replies
20 replies
Subscribers
118 subscribers
Views
12869 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
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
Nanik T
over 12 years ago
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
Krystian Bigaj
over 12 years ago
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).
Cancel
Vote up
0
Vote down
Cancel
Reply
Krystian Bigaj
over 12 years ago
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).
Cancel
Vote up
0
Vote down
Cancel
Children
No data