GDB: add implementation of remote protocol
GDB talks to targets via a so-called remote protocol. These targets
can be things like gdbserver, ROM monitors on specific hardware boards,
or applications that implement the same protocol.
One noteworthy example of application is QEMU, which implements some
basic GDB Remote commands and also a few extenions of its own.
This initial implementation allows connecting to the remote target,
sending commands and receive results. The API can certainly grow later
based on demand.
Changes from v1:
* Fix a typo in the REMOTE_MAX_PACKET_SIZE comment
Signed-off-by: NCleber Rosa <crosa@redhat.com>
Showing
想要评论请 注册 或 登录