June 2017
Intermediate to advanced
478 pages
13h 14m
English
The key component for remote debugging is the debug agent, gdbserver, which runs on the target and controls execution of the program being debugged. gdbserver connects to a copy of GDB running on the host machine via a network connection or a serial interface.
Debugging through gdbserver is almost, but not quite, the same as debugging natively. The differences are mostly centered around the fact that there are two computers involved and they have to be in the right state for debugging to take place. Here are some things to look out for:
Read now
Unlock full access