The functionality for the R packet is provided in
rsp_restart ()
. The start address of the
current target is held in rsp.start_addr
. The
program counter is set to this address using
set_npc ()
(see Section 4.6.5).
The processor is not unstalled, since there would be no way to regain control if this happened. It is up to the GDB client to restart execution (with continue or step if that is what is desired).
This packet should only be used in extended remote debugging.