| Home · All Classes · Annotated · Functions |
Remote debugging using the gdb debugger is available between machines of the same architecture. The process is as follows:
On the target machine run:
gdbserver 127.0.0.1:22222 qpe
On the host machine run:
Create symlink for /opt/Qtopia to image/opt/Qtopia that was built for device
Run ddd and tell it the location od the cross built gdb:
ddd --debugger "/opt/toolchains/..../bin/gdb"
In ddd : file /opt/Qtopia/bin/qpe
In ddd : target remote deviceip:22222
In ddd : handle SIG32 nostop noprint
In ddd : handle SIGTRAP nostop noprint
In ddd : handle SIGPIPE nostop noprint
In ddd : break main
In ddd : cont
Note: If no core file is generated run: ulimit -c 64000.
| Copyright © 2006 Trolltech | Trademarks | Qtopia 4.1.7 |