ndk-gdb debugging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is there a way to debug this using the ndk debugger in Android? I tried
this series of calls to detect the new ip address after switching between
wifi and 3g:

pj_str_t new_contact;

new_contact = pjsua_var.acc[2].contact;

__android_log_print(ANDROID_LOG_DEBUG, "main_android", "current contact %s",
new_contact);


 pjsua_detect_nat_type();


after switch the "pjsua_detect_nat_type()" causes a fatal signal 11, which
I have come to find just means crashing. When I try to run ndk-gdb from the
project directory per the directions:


/pjsip-android/pjsip-apps/src/apjsua, I get:

ndk-gdb

/android-ndk-r8//build/core/add-application.mk:133: *** Android NDK:
Aborting...    .  Stop.

ERROR: The device does not support the application's targetted CPU ABIs!

       Device supports:  armeabi-v7a armeabi

       Package supports: Android NDK: Your APP_BUILD_SCRIPT points to an
unknown file: ./jni/Android.mk


any help on either issue would be great, thanks!


Shaun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20120817/f64ab2f2/attachment-0001.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux