Skip to content
Snippets Groups Projects
Andrej Shadura's avatar
Andrej Shadura authored
A gdbserver may be running left over from a previous debug session.
It will still be listening on the TCP port, preventing a new instance
from starting, so we need to kill it.

However, if we allocate a PTY when spawning it, it will die once the
session ends.

For some reason, with get_pty=True, the gdbserver’s output is coming
from stdout, not stderr.

Apertis: T4463

Signed-off-by: default avatarAndrej Shadura <andrew.shadura@collabora.co.uk>
3fd44401
History
Name Last commit Last update