User manual
F Eclipse
F.2. Debugging
Assuming your OnRISC has IP address 192.168.1.66. Start your ioctls executable on the OnRISC
with following command:
gdbserver :9000 ioctls
On the PC side:
• open examples project (the .project and .cdtproject file are already created)
• Select Run->Debug
• Double click Embedded debug (Native). After that you’ll get new configuration entry
• select the project corresponding to yours (see Figure 38)
• select C/C++ Application to ioctls
• choose Debugger tab (see Figure 39)
• GDB debugger: arm-linux-gdb
• choose Commands tab (see Figure 40)
• ’Initialize’ commands: target remote 192.168.1.66:9000
• ’Run’ commands: c
• Apply
• Debug
Figure 38: Eclipse debug: Main tab
May 2014 OnRISC User Manual 89