Changes

Jump to: navigation, search

Mobile/Fennec/Android/GDB

355 bytes added, 18:50, 30 March 2012
no edit summary
git clone git://github.com/darchons/android-gdbutils.git moz-gdb/utils
== Running ==Now edit this file: === Setup moz-gdb/utils/gdbinit file === and uncomment (remove the #'s) and set the following variables: python feninit.default.objdir # set it to your fennec object directory python feninit.default.srcroot # set it to your source directory 
==== Linux ====
Make sure your paths are absolute! The gdbinit file, even though it specifies relative paths by default, will not correctly load debug symbols unless you specify absolute paths.
</table>
=== Running GDB JimDB === Once JimDB is properly set up, with this requires that you enter into the bin a moz-gdb directoryas described above, and run running Fennec in GDB is very easy:  ./moz-gdb/bin/gdb This will automatically start gdbserver and fennec on the device, once and start gdb on your gdbinit file is setupcomputer.
Confirm
753
edits

Navigation menu