Mobile/Fennec/Android/GDB: Difference between revisions

Jump to navigation Jump to search
Delete the instructions to 'gdb push gdbserver', since the section "Create the moz-gdb directory" is required, and the python scripts will take care of the copying of gdbserver from the moz-gdb dir
(Make it clear where the source for gdbserver comes from (i.e., you already have it))
(Delete the instructions to 'gdb push gdbserver', since the section "Create the moz-gdb directory" is required, and the python scripts will take care of the copying of gdbserver from the moz-gdb dir)
Line 108: Line 108:


Reminder: Don't use ~ in the paths you pass here, as Bash wouldn't evaluate it!
Reminder: Don't use ~ in the paths you pass here, as Bash wouldn't evaluate it!
Install it on your device:
adb push gdbserver /data/local || adb push gdbserver /data/local/tmp
On some Android models the /data/local is not writable so gdbserver needs to be pushed into /data/local/tmp/


==== Mac OS X ====
==== Mac OS X ====
Line 129: Line 123:


The gdbserver binary will be located at ''android-gdbserver-objdir/gdbserver''.
The gdbserver binary will be located at ''android-gdbserver-objdir/gdbserver''.
Install it on your device:
adb push gdbserver /data/local | adb push gdbserver /data/local/tmp


=== Create the moz-gdb directory ===
=== Create the moz-gdb directory ===
Confirmed users, Bureaucrats and Sysops emeriti
969

edits

Navigation menu