command QEnvironmentUnset

Format: ‘QEnvironmentUnset:hex-value’

Meaning: On UNIX-like targets, it is possible to unset environment variables before starting the inferior in the remote target. This packet is used to inform gdbserver of an environment variable that has been unset by the user on GDB.

The packet is composed by hex-value, an hex encoded representation of the name of the environment variable to be unset.

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