Confirmed users
507
edits
No edit summary |
|||
| Line 7: | Line 7: | ||
Run 'git pull' inside the utils directory to get the latest GDB utilities. | Run 'git pull' inside the utils directory to get the latest GDB utilities. | ||
== GDB utilities == | === GDB utilities === | ||
A set of tools to make Fennec development on Android easier. | A set of tools to make Fennec development on Android easier. | ||
| Line 13: | Line 13: | ||
[http://github.com/darchons/android-gdbutils Source and documentation]. | [http://github.com/darchons/android-gdbutils Source and documentation]. | ||
== Building | == Building moz-gdb == | ||
=== Building gdb === | === Building gdb === | ||
| Line 90: | Line 90: | ||
adb push gdbserver /data/local | adb push gdbserver /data/local | ||
=== Set up moz-gdb directory === | |||
GDB utilities assume the following moz-gdb directory structure: | |||
./bin/ | |||
gdb | |||
gdbserver | |||
./utils/ | |||
gdbinit | |||
python/ | |||
The following commands will set up the directories and pull in GDB utilities: | |||
mkdir -p moz-gdb/bin | |||
cp android-gdb-objdir/gdb/gdb moz-gdb/bin | |||
cp android-gdbserver-objdir/gdbserver moz-gdb/bin | |||
git clone git://github.com/darchons/android-gdbutils.git moz-gdb/utils | |||