Hi All,
             I have a native code and i have putted the native code in
framework/base and added the path of it build/core/pathmap.mk. It is
compiled and shared library is  created in  out/target/product/generic/
symbols/system/lib/. All other libraries were already there.
Now to debug the native code i am using gdb, and i have done the
following steps

on PC $ ./adb forward tcp:5039 tcp:5039
At device through adb : gdbserver :5039 --attach pid

On PC :  ./prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-
gdb

On PC , In gdb
# file ./out/target/product/generic/symbols/system/bin/app_process
# set solib-search-path ./out/target/product/generic/symbols/system/
lib
# target remote localhost:5039

Then debug symbols for libraries start loading and done but my library
symbols are not loaded.
When i am keeping break point, it is saying file and api name not
found.


Can anybody tell me what i should do for it.

Thanks
Chetan Chauhan

-- 
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

Reply via email to