[Lldb-commits] [PATCH] D110997: [lldb] Restore tty attributes on disconnect

2021-10-02 Thread Michał Górny via Phabricator via lldb-commits
mgorny updated this revision to Diff 376717. mgorny added a comment. Make use of `Terminal` class as well. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D110997/new/ https://reviews.llvm.org/D110997 Files: lldb/include/lldb/Host/posix/ConnectionFileDescriptorPosix.h lldb/source/Host

[Lldb-commits] [PATCH] D110997: [lldb] Restore tty attributes on disconnect

2021-10-02 Thread Michał Górny via Phabricator via lldb-commits
mgorny created this revision. mgorny added reviewers: labath, teemperor, krytarowski, emaste. mgorny requested review of this revision. When connecting to a teletype, LLDB sets baud rate and switches it to raw mode. Restore the original attributes on disconnect. https://reviews.llvm.org/D110997

[Lldb-commits] [PATCH] D110996: [lldb] [test] Terminate "process connect" connections via kill

2021-10-02 Thread Michał Górny via Phabricator via lldb-commits
mgorny created this revision. mgorny added reviewers: labath, teemperor, emaste, krytarowski. mgorny requested review of this revision. Fix the termination of "process connect" (and "gdb-remote") to kill the process rather than attempting to disconnect the platform. The latter only results in an e