Some packets are very simple to handle, either requiring no response, or a simple fixed text response.
!. A simple reply of "OK"
indicates the target will support extended remote debugging.
D. The detach is acknowledged with a reply
packet of "OK"
before
the client connection is closed and
rsp.client_fd
set to -1. The semantics of
detach require the target to resume execution, so the processor
is unstalled using
set_stall_state (0)
.
H. This sets the thread number of subsequent
operations. Since thread numbers are of no relevance to this
target, a response of "OK"
is always
acceptable.
k. The kill request is used in extended mode before a restart or request to run a new program (vRun packet). Since the CPU is already stalled, it seems to have no additional semantic meaning. Since it requires no reply it can be silently ignored.
T. Since this is a bare level target, there
is no concept of separate threads. The one thread is always
active, so a reply of "OK"
is always
acceptable.