diff options
author | Caroline Tice <ctice@apple.com> | 2010-11-19 20:47:54 +0000 |
---|---|---|
committer | Caroline Tice <ctice@apple.com> | 2010-11-19 20:47:54 +0000 |
commit | efed613172d902cf2ce49f68dd36f15a29a34dab (patch) | |
tree | 9f2dd7ec50382f4e1c2ca600e0d06d60a9bee4c6 /lldb/source/Core/InputReader.cpp | |
parent | 601e72c88a65fddc4525a3d5a19b51495a68ce82 (diff) | |
download | bcm5719-llvm-efed613172d902cf2ce49f68dd36f15a29a34dab.tar.gz bcm5719-llvm-efed613172d902cf2ce49f68dd36f15a29a34dab.zip |
Add the ability to catch and do the right thing with Interrupts (often control-c)
and end-of-file (often control-d).
llvm-svn: 119837
Diffstat (limited to 'lldb/source/Core/InputReader.cpp')
-rw-r--r-- | lldb/source/Core/InputReader.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/Core/InputReader.cpp b/lldb/source/Core/InputReader.cpp index 06cfb5b5ff6..b8a61c29953 100644 --- a/lldb/source/Core/InputReader.cpp +++ b/lldb/source/Core/InputReader.cpp @@ -324,6 +324,10 @@ InputReader::Notify (InputReaderAction notification) m_active = false; break; + case eInputReaderInterrupt: + case eInputReaderEndOfFile: + break; + case eInputReaderGotToken: return; // We don't notify the tokens here, it is done in HandleRawBytes } |