1.4. Running and Debugging Your Program

The steps to run or debug your program depend on your target system and how it is configured. Choose the appropriate method for your target.

Run your program on the target system.  Copy your program to the target system and run it from the command line.

Debug your program on the target using GDB server.  You can debug a program on a remote ARM uClinux target using GDB server. Copy your program to the target system. Follow the instructions in Section 3.6, “GDB Server” to install and run gdbserver on your target system. Then, you can connect to GDB server from the debugger running on your host system. Refer to Section 4.3, “Running Applications from GDB” for instructions on connecting to the target from command-line GDB.