command qRcmd

Format: ‘qRcmd,command’

Meaning: command (hex encoded) is passed to the local interpreter for execution. Invalid commands should be reported using the output string. Before the final result packet, the target may also respond with a number of intermediate ‘Ooutput’ console output packets. Implementors should note that providing access to a stubs’s interpreter may have security implications.

Unlike most packets, this packet does not support ‘E.errtext’-style textual error replies by default. Stubs should be careful to only send such a reply if GDB reported support for it with the error-message feature.

(Note that the qRcmd packet’s name is separated from the command by a ‘,’, not a ‘:’, contrary to the naming conventions above. Please don’t use this command as a model for new command.)

Reply:

OK

A command response with no output.

OUTPUT

A command response with the hex encoded output string OUTPUT.