Confirmed users
753
edits
No edit summary |
No edit summary |
||
Line 119: | Line 119: | ||
adb push gdbserver /data/local | adb push gdbserver /data/local | ||
=== | === Create the moz-gdb directory === | ||
Once you've built JimDB, you need to create and populate a moz-gdb directory as explained below. | Once you've built JimDB, you need to create and populate a moz-gdb directory as explained below. | ||
Line 138: | Line 138: | ||
cp android-gdbserver-objdir/gdbserver moz-gdb/bin | cp android-gdbserver-objdir/gdbserver moz-gdb/bin | ||
git clone git://github.com/darchons/android-gdbutils.git moz-gdb/utils | git clone git://github.com/darchons/android-gdbutils.git moz-gdb/utils | ||
== Set up the gdbinit file == | |||
Now edit this file: | Now edit this file: | ||
Line 147: | Line 149: | ||
python feninit.default.srcroot # set it to your source 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. | 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 style="border: 1px solid black;"> | <table style="border: 1px solid black;"> |