Hi All,
I am trying to debug the native code in the android app, which is developed by me.
But i am not able to set the break points.
Everytime i am getting this errror.
Will anyone please help me in resolving the same.
Please find the error below
////////////////////////////////////////////////////////////////////////////////////////////////////////////
.......
......
......
Error while mapping shared library sections:
libwebcore.so: No such file or directory.
Error while mapping shared library sections:
gralloc.default.so: No such file or directory.
(no debugging symbols found)
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
warning: shared library handler failed to enable breakpoint
0xafd0c51c in epoll_wait () from D:/EclipseTestWorkspace/CallbackJava/obj/local/armeabi/libc.so
(gdb) break SipApi.c:Java_com_callback_SipApi_Register
No symbol table is loaded. Use the "file" command.
(gdb) break callbacks_java.cpp:appcallback_register
No symbol table is loaded. Use the "file" command.
(gdb) load ./obj/local/armeabi/libcallbacks.so
Loading section .hash, size 0x34c lma 0xd4
Load failed
(gdb) file ./obj/local/armeabi/libcallbacks.so
A program is being debugged already.
Are you sure you want to change the file? (y or n) y
Reading symbols from D:\EclipseTestWorkspace\CallbackJava/./obj/local/armeabi/libcallbacks.so...done.
(gdb) break SipApi.c:Java_com_callback_SipApi_Register
Breakpoint 1 at 0x1ff8: file D:/EclipseTestWorkspace/CallbackJava/jni/SipApi.c, line 19.
(gdb) break callbacks_java.cpp:appcallback_register
Breakpoint 2 at 0x1a5c: file D:/EclipseTestWorkspace/CallbackJava/jni/callbacks_java.cpp, line 419.
(gdb) c
Continuing.
Warning:
Cannot insert breakpoint 1.
Error accessing memory address 0x1ff8: Input/output error.
Cannot insert breakpoint 2.
Error accessing memory address 0x1a5c: Input/output error.
(gdb)
////////////////////////////////////////////////////////////////////////////////////////////////////////////
Thanks & Regards,
SSuman185