summaryrefslogtreecommitdiffstats
path: root/lldb/source
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2014-05-06 18:54:53 +0000
committerGreg Clayton <gclayton@apple.com>2014-05-06 18:54:53 +0000
commitc62338e89dcdf84b6584ea963f40e145e26fd19d (patch)
treee240f8fcb580b8f045626503f7b860a772c81b9c /lldb/source
parent48a1727e6fb97c2e63b06ea48957b625398e1f86 (diff)
downloadbcm5719-llvm-c62338e89dcdf84b6584ea963f40e145e26fd19d.tar.gz
bcm5719-llvm-c62338e89dcdf84b6584ea963f40e145e26fd19d.zip
control-D on empty line to quit lldb stopped working in Release builds on MacOSX.
<rdar://problem/16822217> llvm-svn: 208117
Diffstat (limited to 'lldb/source')
-rw-r--r--lldb/source/Host/common/Editline.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Host/common/Editline.cpp b/lldb/source/Host/common/Editline.cpp
index f38f70bc40a..0b549444027 100644
--- a/lldb/source/Host/common/Editline.cpp
+++ b/lldb/source/Host/common/Editline.cpp
@@ -790,7 +790,8 @@ Editline::GetCharFromInputFileCallback (EditLine *e, char *c)
line_info->buffer == line_info->cursor &&
line_info->cursor == line_info->lastchar)
{
- ch = EOF;
+ editline->m_got_eof = true;
+ break;
}
}
OpenPOWER on IntegriCloud