Changes

Jump to: navigation, search

Mobile/Fennec/Android/GDB

307 bytes added, 21:11, 7 May 2012
First run of JimDB
For each loaded library you'll see whether symbols were found: Yes, No, or "Yes (*)" meaning no debug info. Press Enter until the listing is complete. You want to make two things sure:
* Ensure that libXUL has debug info i.e. you should see a plain Yes for libxul.so. If not, that means that something is wrong with your fennec build (is it a non-debug build?) or with your gdbinit (see above).* Ensure that no library has a No. Typically, some system libraries and drivers will give you a No. For each such library, you want to manually pull it from the device into moz-gdb/lib/<device hex id>/system/lib. These drivers are typically found in /vendor on your device. Do pull them into system/lib on your computedcomputer, as this is where JimDB will find them, even if on the device they are not in /system/lib.Here is an example script to pull all the files in a given directory (here /system/lib) at once:  for file in $(adb shell ls /system/lib | tr "\n" " " | tr "\r" " "); do adb pull /system/lib/$file done You may have to repeat this for other directories such as /vendor/lib for drivers. 
There is one dummy library about which GDB will still report "no":
Confirm
753
edits

Navigation menu