Format: ‘QEnvironmentReset’
Meaning: On UNIX-like targets, this packet is used to reset the state of environment variables in the remote target before starting the inferior. In this context, reset means unsetting all environment variables that were previously set by the user (i.e., were not initially present in the environment). It is sent to gdbserver before the ‘QEnvironmentHexEncoded’ and the ‘QEnvironmentUnset’ commands.
This packet is only available in extended mode.
This packet is not probed by default; the remote stub must request it, by supplying an appropriate ‘qSupported’ response. This should only be done on targets that actually support passing environment variables to the starting inferior.
Reply:
OK