|Eclipse project setup when using gdbserver on a remote target [message #675551]
||Tue, 31 May 2011 20:22
Registered: May 2011
My setup has a SetTopBox, and Linux PC.|
Target SetTopBox: (192.168.1.170)
- Runs a small linux distro, with serial and ethernet connections
- has gdbserver
Linux machine: (192.168.1.110)
- runs NFS
- runs Eclipse
- has the mipsel-linux-gdb utility
I startup the STB, and via the serial port I access the target's filesystem (burned in flash), to configure tcpip connectivity and start a gdbserver.
- ifconfig eth0 192.168.1.170
- mount 192.168.1.110:/nfsexports/App /mnt/nfs
- cd /mnt/nfs
- gdbserver 192.168.1.110:10000 app.out
>> Process app.out created; pid = 263
>> Listening on port 10000
On the Linux machine (192.168.1.110), I want to use Eclipse to debug the app.out now about to be running on the target.
I cannot figure out how to set up the project in Eclipse/CDT: how to configure the project, the debug configurations, etc..... The turorials aren't much use. Can someone please tell me the basics (or the gotcha's) about how to setup this target within the CDT ?
Powered by FUDForum
. Page generated in 0.01809 seconds