gdbserver starts a shell and runs the target process through it. This behavior was added in gdbserver 8.0 in 2017 together with the commandline flag --no-startup-with-shell to disable it. Some shells can be configured to start the target command in a new process instead of replacing itself with it using execve, which confuses gdbserver's signal handling.
gdbserver starts a shell and runs the target process through it. This behavior was added in gdbserver 8.0 in 2017 together with the commandline flag
--no-startup-with-shell
to disable it. Some shells can be configured to start the target command in a new process instead of replacing itself with it using execve, which confuses gdbserver's signal handling.Fixes #2377