Hey Android-devels, My program returns the following stacktrace:
I/DEBUG (12825): #00 pc 00009c78 /data/data/ com.example.exception/lib/libexception.so (P$EXCEPTION_ERRONIOUSCALL) I/DEBUG (12825): #01 lr 80709c94 /data/data/ com.example.exception/lib/libexception.so The program was written in pascal (compiler: freepascal 2.5.1). When I try something written in C, I get: I/DEBUG (12825): #00 pc 00000c7c /data/data/ com.example.hellojni/lib/libhello-jni.so (testC) I/DEBUG (12825): #01 pc 00000c8e /data/data/ com.example.hellojni/lib/libhello-jni.so (testB) I/DEBUG (12825): #02 pc 00000ca2 /data/data/ com.example.hellojni/lib/libhello-jni.so (testA) I/DEBUG (12825): #03 pc 00000cb6 /data/data/ com.example.hellojni/lib/libhello-jni.so (Java_com_example_hellojni_HelloJni_stringFromJNI) which is exactly what I would expect. Both the pascal and C program contain an error at a stack depth of ~4. The C program correctly shows that but the other stacktrace only shows where it crashed. Can someone explain me what could cause this? What must the freepascal developers do to make native android stacktraces work with their binaries? Thanks alot! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

