The client implementation can be found in the source files
remote.h
and remote.c
in
the gdb
subdirectory. These implement a set of
target operations, as described in Section 2.4. Each of the standard operations is
mapped into a sequence of RSP interactions with the server on the
target.