diff options
author | Tom Tromey <tromey@adacore.com> | 2022-12-05 11:15:09 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2022-12-13 12:51:53 -0700 |
commit | c1dc47f53cccf633f3079db25a5b41adaee940a8 (patch) | |
tree | bdb940e44ce7ef19ab04332f559cae02a730edb8 /gdb/rust-lang.h | |
parent | d2f803afd5a3ae16933a3adb8dca9b16a01551ce (diff) | |
download | gdb-c1dc47f53cccf633f3079db25a5b41adaee940a8.zip gdb-c1dc47f53cccf633f3079db25a5b41adaee940a8.tar.gz gdb-c1dc47f53cccf633f3079db25a5b41adaee940a8.tar.bz2 |
Refactor code to check for terminal sharing
This refactors the code to check for terminal sharing.
is_gdb_terminal is exported, and sharing_input_terminal_1 is renamed,
slightly refactored, and moved to posix-hdep.c. A new
Windows-specific implementation of this function is added to
mingw-hdep.c.
MSDN has a warning about GetConsoleProcessList
This API is not recommended and does not have a virtual terminal
equivalent. [...] Applications remoting via cross-platform
utilities and transports like SSH may not work as expected if
using this API.
However, we believe this isn't likely to be an issue for gdb.
Diffstat (limited to 'gdb/rust-lang.h')
0 files changed, 0 insertions, 0 deletions