Skip to content
Snippets Groups Projects
Verified Commit 3fd44401 authored by Andrej Shadura's avatar Andrej Shadura
Browse files

Force allocating a PTY when running gdbserver


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>
parent 9dc03069
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment