The Gdbserver

The gdbserver is a debug agent that runs on the target. It executes the debugged program under its control, either by starting it or attaching to an already running process. It communicates with gdb on the host side over a serial link or a socket (TCP/IP), and uses the ptrace system call to read and write to the debugged process' registers and memory. It has threaded debugging enabled.

The gdbserver is included in the software distribution and can easily be enabled in the build system configuration as described in Configuration and building of the firmware.

Under “Debug Configuration —>” you will find the ”[ ] Enable GDB server support” selection.

 
axis/gdb-server.txt · Last modified: 2007/03/08 15:37 by jesper
 
All text is available under the terms of the GNU Free Documentation License (see Copyrights for details).