command QStartupWithShell

Format: ‘QStartupWithShell:value’

Meaning: On UNIX-like targets, it is possible to start the inferior using a shell program. This is the default behavior on both GDB and gdbserver (see set startup-with-shell). This packet is used to inform gdbserver whether it should start the inferior using a shell or not.

If value is ‘0’, gdbserver will not use a shell to start the inferior. If value is ‘1’, gdbserver will use a shell to start the inferior. All other values are considered an error.

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 starting the inferior using a shell.

Reply:

OK