The GDB program acts as the RSP client with the target acting as the RSP server. The client issues packets which are requests for information or action. Depending on the nature of the client packet, the server may respond with a packet of its own.
This is the only circumstance under which the server sends a packet: in reply to a packet from the client requiring a response.