User:MarkFinkle/MaemoDebugging: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 18: Line 18:
</pre>
</pre>


During a package:
Or, if you already have a build:
<pre>
<pre>
> make package PKG_SKIP_STRIP=1  
> make package PKG_SKIP_STRIP=1  
Line 27: Line 27:
> scp fennec-archive.tar.bz2 root@192.168.10.100:/media/mmc2
> scp fennec-archive.tar.bz2 root@192.168.10.100:/media/mmc2
</pre>
</pre>
'''Note:''' I assume you have <code>openssh</code> installed on your device.


==GDB==
==GDB==
Line 34: Line 36:
</pre>
</pre>


Since the debug binaries are on the device, you could use <code>gdb</code> on the device too:
Since the debug binaries are on the device, you could use <code>gdb</code> on the device:
<pre>
<pre>
> gdb ./fennec
> gdb ./fennec
Line 52: Line 54:
> gdbserver host:5555 ./fennec
> gdbserver host:5555 ./fennec
</pre>
</pre>
<code>gdbserver</code> will now listen for incoming connections.


On the desktop:
On the desktop:
Line 62: Line 66:
(gdb) continue
(gdb) continue
</pre>
</pre>
You should now be running Fennec on the device and debugging on your desktop.
canmove, Confirmed users, Bureaucrats and Sysops emeriti
2,798

edits

Navigation menu