Changes

User:Pau pajuelo

80 bytes added, 20:10, 25 July 2012
no edit summary
Once you compiled the program pass it from VM to IGEP via SSH, launch a terminal and type:
<pre>scp "pathtobinary" root@"IGEP IP for example: 192.168.5.1":/home/root</pre>
Get a remote shell prompt and run gdbserver:
<pre>ssh root@192.168.5.1
gdbserver "hostip,for example "VM IP for example: 192.168.5.10":1000 "pathtobinary" "optional:armguments"
</pre>
Now use the followings steps to debug program:<br>
{| width="200" cellspacing="1" cellpadding="1" border="1"
|}
Set breakpoints in your source code
At Start Debugger window (image 3), use the following configuration:
*Debugger: /opt/poky/1.2/sysroots/i686-pokysdk-linux/usr/bin/armv7a-vfp-neon-poky-linux-gnueabi/arm-poky-linux-gnueabi-gdb*Local executable: "pathtohostbinary"*Host and port: "IGEP IP for example: 192.168.5.1":1000*Architecture: arm*GNU target: arm-none-linux-gnueabi*Sysroot: /opt/poky/1.2/sysroots/armv7a-vfp-neon-poky-linux-gnueabi*Location of debugging information: (empty)
*Override host GDB starrt script. (empty)
<br>
 '''NOTE:''' You cannot use igep-remote-x program because Qt-demo image doesn't have X installed.<br>
=== x86 Platform<br> ===
4,199
edits