[Lldb-commits] [PATCH] D121912: [lldb] Fix ^C handling in IOHandlerProcessSTDIO
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 17 07:13:26 PDT 2022
labath created this revision.
labath added a reviewer: JDevlieghere.
Herald added a project: All.
labath requested review of this revision.
Herald added a project: LLDB.
D120762 <https://reviews.llvm.org/D120762> accidentally moved the interrupt check into the block which was
reading stdio. This meant that a ^C only took effect after a regular
character has been pressed.
This patch fixes that and adds a (pexpect) test.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D121912
Files:
lldb/source/Target/Process.cpp
lldb/test/API/iohandler/sigint/Makefile
lldb/test/API/iohandler/sigint/TestProcessIOHandlerInterrupt.py
lldb/test/API/iohandler/sigint/cat.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121912.416172.patch
Type: text/x-patch
Size: 3086 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220317/eb172db9/attachment.bin>
More information about the lldb-commits
mailing list